Facebook app request dialog not sending request

跟風遠走 提交于 2019-12-04 06:29:14
DMCS

A couple of sugegstions as to where to start looking:

  • Ensure your app is not in sandbox mode.
  • Ensure the user is not a test user that is sending invites.
  • Requests are only available for Desktop Canvas apps and not websites.

I had to implement facebook ‘apprequests’ instead of the deprecated ‘appinvites’ in an existing cordova app and spent hours debugging.

So here are my lessons learned:

  • ‘apprequests’ are only available in Facebook Apps categorized as ‘games’
  • You can send notifications only to platforms (iOS, Android, Facebook web games) that are involved with the facebook app. That means, you will never receive a notification in your browser if you miss ‘facebook web games’ as platform. My expectation was to be notified in the facebook browser app if I was invited from a Mobile app.
  • If you like notifications in a browser app, you have to add ‘Facebook web games’ (formerly known as ‘canvas’) as plattform.
  • You can save yourself a lot trouble by creating test users in the app role category of your facebook app.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!