Can non-game app use FB apprequests dialog in FB v2

二次信任 提交于 2019-12-05 18:15:23
Augusto

There is in fact a current hole in the Facebook API regarding web invites to non-game canvas apps. The Facebook API changelog from v 2.2 to v 2.3 states that the apprequests function that opens the Request Dialog is now only limited to games, and that non-game apps should use App Invites. However, App Invites work only in iOS and Android.

Trying to render the Request Dialog for a non-game app will fail with an error indicating it is available for game apps only. So currently, there is no way for users to invite friends to a non-game canvas app via the web, except by using the Send Dialog which is a lousy user experience and really shouldn't be used for that.

I have filed a bug report with Facebook and they have acknowledged it is a valid bug. Let's hope they fix it soon.

https://developers.facebook.com/bugs/895531977178531

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!