开发者

Get App Deauthorize Callback

I need to get Deauthorize Callback URL using FB App Id and Secret. Is it possible? I've looked at FQL, but did开发者_运维知识库n't find anything. Basically, I want to disable script if Deauthorization Callback is not set.


This is now possible using the Application endpoint in the Open Graph API. The field you are looking for is deauth_callback_url. The Application endpoint was announced in December, 2011.


We can set Deauthorize Callback url from Advanced Settings of APP.

To Get App Deauthorize Callback: field-deauth_callback_url
Description: URL that is pinged whenever a user removes the app Required:App access_token required; Returns: return "string"( only returned if specifically requested via the fields URL parameter)

Method:

GET https://graph.facebook.com/APP_ID/
     ?fields=deauth_callback_url
     &access_token=APP_ACCESS_TOKEN

For more information about app settings try this info page: APP Information Settings

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜