facebookarchive / account-kit-samples-for-ios

Samples for the account kit product on ios.
43 stars 26 forks source link

I keep getting an OAuth error on iOS [Swift] #3

Closed alexbuga closed 8 years ago

alexbuga commented 8 years ago

Invalid OAuth access token.

I've followed all the steps in there.

I've setup my Info.plist correctly (because FBSDKCoreKit works) I'm seeing the viewControllerForPhoneLogin but when I submit my phone number I get the Invalid OAuth access token.

hansemannn commented 8 years ago

Did you integrate the AccountKitClientToken inside your plist? From what I know, it handles the OAuth process.

olgaikuznetsova commented 8 years ago

This is the github project for the AccountKit sample - are you having problems running the sample? If this is an issue within your own code, please file a bug with our platform bugs project: https://developers.facebook.com/bugs/

Thank you!

toddkrabach commented 8 years ago

alexbuga,

There are a couple of additional Info.plist entries that are required/recommended for AccountKit. Please see the developer docs (https://developers.facebook.com/docs/accountkit/ios/integrating) for instructions on that.

Thanks, Todd

alexbuga commented 8 years ago

Yeah guys. My Info.plist has e FDBAppID and AccountKit key. Sample works fine. Thanks.