Facebook App Invites iOS SDK v4.0 configuration and states

前端 未结 3 1238
长情又很酷
长情又很酷 2020-12-14 04:44

I have recently started to implement the new Facebook\'s App Invites feature. The invite is sent, but my friends (or app testers in my case) whom I sent app invites to did n

相关标签:
3条回答
  • 2020-12-14 05:22

    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.

    0 讨论(0)
  • 2020-12-14 05:24

    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!

    0 讨论(0)
  • 2020-12-14 05:33

    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.
    0 讨论(0)
提交回复
热议问题