-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtest.ts
42 lines (31 loc) · 850 Bytes
/
test.ts
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
/// <reference path="facebook.d.ts" />
FB.api('/me');
FB.api('asd', {});
FB.api('asd', function (response?) {});
FB.api('asd', function () {});
FB.api('asd', {}, function (response?) { });
FB.api('asd', 'POST', {}, function (response?) {});
FB.login(function (response) {
response.status;
response.authResponse.accessToken;
});
FB.login(function (response) { });
FB.logout();
FB.ui({ caption: '' }, function (response?) { });
FB.Canvas.getPageInfo(function (info) {
info.clientHeight;
});
FB.Canvas.getPageInfo(function (info) {
info.clientHeight;
});
FB.Canvas.Prefetcher.setCollectionMode( FB.Canvas.Prefetcher.COLLECT_MANUAL );
FB.Canvas.setAutoGrow(10);
FB.Canvas.setAutoGrow();
FB.Canvas.setSize({ width: 100 });
FB.Canvas.setSize({ height: 100 });
FB.init({
appId: 'dasddas',
xfbml: true,
cookie: false,
channelUrl: ''
});