I am using the Facebook SDK
found here, and am trying the sample that is provided (in the folder FacebookiOSSample
).
If I simply replace the AppId
here with my specific AppId
, then I can no longer Share. (I replaced it in both the AppDelegate
file and the info.plist
file). I now receive the following error:
FBSDKLog: Invalid use of FBAppCall, fb**** is not registered as a URL Scheme. Did you set 'FacebookUrlSchemeSuffix' in your plist?
Otherwise this works fine with the sample's original AppId
which points to something named IFaceTouch
.
What could be wrong with the setup of my app, how do I register my AppId
?
This specification defines the app: URL scheme. The app: URL scheme can be used by packaged applications to obtain resources that are inside a container. These resources can then be used with web platform features that accept URLs.
fb://profile – Open Facebook app to the user's profile. fb://friends – Open Facebook app to the friends list. fb://feed – Open Facebook app to the News Feed. fb://events – Open Facebook app to the Events page.
Follow these three steps:
The finished .plist should look something like this:
Source Link:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With