开发者

iOS - Facebook SDK integration/setup

开发者 https://www.devze.com 2023-03-06 02:39 出处:网络
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 cl

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开发者_Go百科. 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

0

精彩评论

暂无评论...
验证码 换一张
取 消