2012/03/23

[iOS][Facebook]URL Schemesの登録について

The last thing that needs to be accomplished to enable SSO support is a change to the .plist file that handles configuration for the app. Xcode creates this file automatically when the project is created. A specific URL needs to be registered in this file that uniquely identifies the app with iOS. Create a new row named URL types with a single item, URL Schemes, containing a single value, fbYOUR_APP_ID (the literal characters fb followed by your app ID). The following shows exactly how the row should appear in the .plist file:

via:Modify the app property list file
つまり、info .plistに、 URL Schemesを追加するときに、アプリケーションIDの前に、「fb」という文字をつける必要があります。

これが、ないと、エミュレータでも、正常に動作しません。

0 コメント:

コメントを投稿