Search Results for 'Realtime Updates'

ATOM Icon

1 POSTS

  1. 2013/10/09 [SNS] 페이스북 tab app api 관련 url by incree

[SNS] 페이스북 tab app api 관련 url

Add Page Tab Dialog(페이지에 탭앱 추가하기)
https://developers.facebook.com/docs/reference/dialogs/add_to_page/

FB.ui({
  method: 'pagetab',
  redirect_uri: 'YOUR_URL'
}, function(response){});

https://www.facebook.com/dialog/pagetab?
  app_id=YOUR_APP_ID
  &redirect_uri=YOUR_URL
https://www.facebook.com/dialog/pagetab?app_id=449768265140751&redirect_uri=http://facebook.com


Realtime Updates

https://developers.facebook.com/docs/reference/api/realtime/
https://developers.facebook.com/docs/reference/api/realtime/#subscribingviagraphapi

https://developers.facebook.com/docs/reference/api/page/#realtime
사용자 삽입 이미지
변경가능 항목
name
category_list
picture
checkins
feed


Connections tabs
https://developers.facebook.com/docs/reference/api/page/#connections
https://developers.facebook.com/docs/reference/api/page/#tabs

Create

You can install a profile_tab at the end of the current list of installed tabs for a page by issuing an HTTP POST request to PAGE_ID/tabs with a Page Access Token:

Parameter Description Type Required
app_id ID of the application for which to install the tab. string Y

If the create is successful, you get the following return:

Description Type
If the create succeeded boolean

Update

You can update an installed profile_tab for a page by issuing an HTTP POST request to /PAGE_ID/tabs/TAB_ID with Page Access Token and the following parameters:

Parameter Description Type Required
position Order in which the tab will appear on the profile. Must be after permanent tabs and less than the number of installed tabs. Index starts at 0 integer N
custom_name Name to be used for the tab. If this is set to an empty string, the tab will use the application’s default tab name. string N
is_non_connection_landing_tab Set this tab as the default landing tab for users who have not liked and are not admins of the Page. If provided, value must be true. boolean N
custom_image_url URL for an image to be used as a custom icon for this Page app. Note that either custom_image_url or custom_image can be set, but not both. string N
custom_image The name of an image file to be used as a custom icon for this Page app. Note that either custom_image_url or custom_image can be set, but not both. image file N

If the edit is successful, you get the following return.

Description Type
If the edit succeeded boolean

Delete

You can delete an installed profile_tab where is_permanent is not true for a page by issuing an HTTP DELETE request to /PAGE_ID/tabs/TAB_ID object with a Page Access Token.

If the delete is successful, you get the following return.

Description Type
If the delete is successful boolean



tabapp: {
            create: function(pageId, tabappId, pageAccessToken, callback) {
                FB.api('/' + pageId + '/tabs', 'POST', {access_token: pageAccessToken, app_id: tabappId}, function(response) {
                    if(callback) callback.apply(this, [response]);
                });
            },
            update: function(pageId, tabappId, pageAccessToken, updateData, callback) {
                updateData.access_token = pageAccessToken;
                FB.api('/' + pageId + '/tabs/app_' + tabappId, 'POST', updateData, function(response) {
                    if(callback) callback.apply(this, [response]);
                });
            },
            delete: function(pageId, tabappId, pageAccessToken, callback) {
                FB.api('/' + pageId + '/tabs/app_' + tabappId, 'DELETE', {access_token: pageAccessToken}, function(response) {
                    if(callback) callback.apply(this, [response]);
                });
            }
        }

Posted by incree

2013/10/09 09:44 2013/10/09 09:44
, , , , ,
Response
0 Trackbacks , 0 Comments
RSS :
http://www.incree.com/tc/incree/rss/response/276

Trackback URL : 이 글에는 트랙백을 보낼 수 없습니다


Notices

Archives

Authors

  1. incree

Recent Trackbacks

Calendar

«   2017/08   »
    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    

Site Stats

Total hits:
418391
Today:
3
Yesterday:
119