-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.aspx
65 lines (51 loc) · 2.23 KB
/
default.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="fbnajam._default" %>
<%@ Register Assembly="Facebook.Web" Namespace="Facebook.Web" TagPrefix="cc2" %>
<%@ Register Assembly="Facebook.Web" Namespace="Facebook.Web.FbmlControls" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head runat="server">
<title></title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<%-- <script type="text/javascript">
$(document).ready(function () {
FB_RequireFeatures(["CanvasUtil"], function () {
FB.XdComm.Server.init("xd_receiver.htm?v=2");
var failed;
try {
/*FB.CanvasClient.setSizeToContent();*/
}
catch (e) {
failed = true;
try {
FB.CanvasClient.setCanvasHeight("1500px");
}
catch (e) {
}
}
if (!failed) {
FB.CanvasClient.startTimerToSizeToContent();
}
});
});
function resizeContent() {
FB.CanvasClient.setSizeToContent();
FB.CanvasClient.startTimerToSizeToContent();
}
</script>--%>
</head>
<body>
<form id="form1" runat="server">
<script src="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<div>
<asp:Literal ID="Literal1" runat="server"></asp:Literal> <br />
<%-- Hello, <%= Api.Users.GetInfo().name %>--%>
<cc1:ProfilePic uid="100000959016556" linked="True" width="300" height="400" runat="server" Xfbml="True" FacebookLogo="False"></cc1:ProfilePic>
</div>
</form>
<script type="text/javascript">
FB_RequireFeatures(["XFBML"], function () {
FB.Facebook.init('540b51ce47415b31b09f1f5d92147370', "channel/xd_receiver.htm");
});
</script>
</body>
</html>