Facebook App Invites iOS SDK v4.0 configuration and states

我们两清 提交于 2019-11-28 19:44:10
Vinh Nguyen

So, after some research. To recap, in order to test the App Invite on your development app, there are something to note:

  • First and foremost: The first you have to do before implement the app invite feature is that you have to upgrade your project's Facebook iOS SDK to latest version 4.0. So more work to migrate from 3.x to 4.x

To send app invites you must use version 4.0 or later of the Facebook SDK for iOS - see the note here

  • The best way is to test with your Testers accounts, who has access to app in development mode (If you don't have, you can add your test Facebook user in Roles tab in your Facebook app dashboard).
  • Your should test with both users on Facebook's native mobile app (NOT simulator/device mobile browser) in order to see your invite push notification. But first, check whether the app you want to send is installed on your mobile before or not; if it is not installed, you should received push notification (see comment from FB developer advocate here).
  • Last but not least: make sure you configure both your app correctly, the steps are very minimal and easy to follow, make sure there is not any typo in your scheme and your invite code.
Tyler White

Found a similar question here and answered it:

https://stackoverflow.com/a/30929118/4888794

Basically, the notifications only appear in the Facebook Mobile App and not on the FB website.

Thank you!

Your should test with both users on Facebook's native mobile app (NOT simulator/device mobile browser) in order to see your invite notification, viewing on desktop would show nothing.

Really on desktop I did not have invitations but on device got it!

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