Facebook SDK: app not registered as a URL Scheme

后端 未结 10 1100
無奈伤痛
無奈伤痛 2020-11-30 22:41

I am using the Facebook SDK found here, and am trying the sample that is provided (in the folder FacebookiOSSample).

If I simply replace th

10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-30 23:20

    Follow these three steps:

    1. Create a key called FacebookAppID with a string value, and add the app ID there.
    2. Create a key called FacebookDisplayName with a string value, and add the Display Name you configured in the App Dashboard.
    3. Create an array key called URL types with a single array sub-item called URL Schemes. Give this a single item with your app ID prefixed with fb. This is used to ensure the application will receive the callback URL of the web-based OAuth flow.

    The finished .plist should look something like this:

    enter image description here

    Source Link:

提交回复
热议问题