Facebook App Requests aren't shown on iOS devices?

前端 未结 2 741
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-06 02:49

I\'ve sent an app invitation from an iPad app to a test Facebook account via Facebook\'s API. When I login to the test account on my PC, the app request is there.

W

相关标签:
2条回答
  • 2020-12-06 03:12

    I just figured there can be another reason for this symptom: if your app has location restriction (only available in certain countries), the user who receives the request has to be in that country (e.g. I had to connect with mine via GeoEdge).

    0 讨论(0)
  • 2020-12-06 03:21

    This is caused by an incorrect configuration on the Facebook app setting page. When you are setting up the app, you need to make sure the following is set correctly.

    Go to developers.facebook.com then select "Apps". Edit your app and fill in the following..

    • iOS App Bundle (dont think it's essential but fill it in, this the bundle id from Xcode (com.companyname.appname))

    • iPhone/iPad App Store ID - This is ESSENTIAL, one of these must be filled in with a valid app store ID. You get this when you create an app with iTunes Connect. If you create an app, and fill in the details right up to the point where it asks you to submit the binary, it will generate what Apple refers to as an Apple ID (or iTunes Id?). It's just a long integer value. It doesn't have to be for the corresponding app, if you already have apps in the app store just log in to iTunes connect and use an existing one for testing.

    • Configured for iOS SSO - Enabled

    • Configured for Deep Linking - Enabled

    The only functionality you get from Facebook when a user clicks an app notification on iOS is the user being redirected to the app, if installed, or to the App Store if not. Also if you want your app notifications to show up on desktop, you'll need a Canvas URL under the "App On Facebook" section.

    In my tests I had to have a canvas URL to get iOS notifications working, but I'm not sure if this is a bug with Facebook or intended behaviour, so if it doesn't work with just iOS enabled, enable app on Facebook too and stick in a random url if you don't have one.

    0 讨论(0)
提交回复
热议问题