用户授予扩展权限后 Facebook 不会通知我

发布于 2024-08-23 14:58:50 字数 181 浏览 3 评论 0原文

我正在开发一个 Facebook 应用程序,需要一些扩展权限。问题是,当用户授予这些权限时,Facebook 不会自动 ping 我的应用程序。我必须手动查询它们,或者用户必须按确认按钮才能将它们发送给我。

我的问题是如何让 Facebook 在权限更改时自动 ping 我。我正在 Rails 中使用 Facebooker 插件。

I am developing a Facebook App which requires some extended permission. The problem is that Facebook doesn't automatically ping my app when those permissions are granted by the user. I have to manually query for them or the user must press a confirmation button to send them to me.

My question is how can I enable Facebook to ping me automatically when permissions are changed. I am using the Facebooker plugin in Rails.

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

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

发布评论

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

评论(1

月隐月明月朦胧 2024-08-30 14:58:50

如果您正在开发画布应用程序,当用户授予扩展权限时,您将开始收到一个参数,指定授予了哪些权限 (fb_sig_ext_perms)。

您还可以使用 FBJS 函数 Facebook.showPermissionsDialog,它将执行一个回调,告诉您用户已授予哪些权限。此处的文档: http://wiki.developers.facebook.com/index.php /Facebook.showPermissionDialog

对于 Facebook 连接,您可以指定用户授予(或选择不授予)权限时的 JavaScript 回调。此处的文档: http://developers.facebook.com/ docs/?u=facebook.jslib.FB.Connect.showPermissionDialog

If you are developing a canvas application when a user has granted extended permissions you will begin to receive a parameter specifying which permissions were granted (fb_sig_ext_perms).

You can also use the FBJS function Facebook.showPermissionsDialog which will execute a callback that tells you which permissions the user has granted. Documentation here: http://wiki.developers.facebook.com/index.php/Facebook.showPermissionDialog

For Facebook connect, you can specify a javascript callback for when the user has granted (or chosen not to grant) permission. Documentation here: http://developers.facebook.com/docs/?u=facebook.jslib.FB.Connect.showPermissionDialog

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