简体   繁体   中英

iOS - Facebook SDK integration/setup

Facebook SDK asks that developers provide their App ID as well as their iTunes ID.

Anybody feel this is incredibly ridiculous, not to mention ridiculously suspicious? Every doc/comment I've seen claims Facebook requires our iTunes ID so that they can "link" our app from iTunes, or something to this affect.

But i know for certain that this is not the case as there is a standard URL we can provide that lead users to the app, directly on iTunes/app-store.

The URL i commented on related to this is here

* Update *

OK. I don't think I'm doing this right. The App ID, which is provided by Facebook, this is the string that i provided in the Apple Store ID field. Which I'm pretty sure is WRONG. However, i am able to post to Facebook. What the hell is this field for?

* Resolved *

The apple store id is the App ID that you see from the app information page on apples developer site.

This seems to be a big misunderstanding. Facebook doesn't want or require your iTunes Id. It's an optional feature to register an url sheme for your application to provide a single sign login via the Facebook app on your iPhone.

Bind your application to a URL scheme corresponding to your Facebook application ID. The URL scheme you must bind to is of the format "fb[appId]://", where [appId] is your Facebook application ID. Without this, your application won't be able to handle authorization callbacks. Modify your application's .plist file as follows:

https://github.com/facebook/facebook-ios-sdk

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM