获取应用取消授权回调

发布于 2024-10-29 21:09:53 字数 120 浏览 4 评论 0原文

我需要使用 FB App Id 和 Secret 获取 Deauthorize Callback URL。是否可以?我查看了 FQL,但没有找到任何内容。基本上,如果未设置取消授权回调,我想禁用脚本。

I need to get Deauthorize Callback URL using FB App Id and Secret. Is it possible? I've looked at FQL, but didn't find anything. Basically, I want to disable script if Deauthorization Callback is not set.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

征棹 2024-11-05 21:09:53

现在可以使用 Open Graph API 中的应用程序端点来实现这一点。您要查找的字段是deauth_callback_url。应用程序端点于 2011 年 12 月发布

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.

娇柔作态 2024-11-05 21:09:53

我们可以在APP的高级设置中设置取消授权回调url。

获取应用取消授权回调:
字段-deauth_callback_url
说明:每当用户删除应用程序时都会 ping 的 URL
必填:需要应用程序access_token;
返回:返回“string”(仅在通过 fields URL 参数明确请求时返回)

方法:

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

有关应用程序设置的更多信息,请尝试此信息页面:
应用信息设置

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文