开发者

Get App Deauthorize Callback

开发者 https://www.devze.com 2023-02-20 20:48 出处:网络
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 Deauthorizati

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

精彩评论

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