Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 6 facebook sdk 3.1.1 login error

I tried to login using facebook followed the facebook tutorial in https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/ to implement it but after the alert view asking me to allow my app use your data and press ok the error

The operation could not be completed . (com.facebook.sdk error 2)

note that iam in the simulatore and i entered FB my account inside setting and it is logged correctly.

debugging the issue it and the result of the error is as following :

(NSError *) $1 = 0x0ac77290 Error Domain=com.facebook.sdk Code=2 "The operation couldn’t be completed. (com.facebook.sdk error 2.)" UserInfo=0xac77450 {com.facebook.sdk:ErrorLoginFailedReason=com.facebook.sdk:ErrorLoginFailedReason, com.facebook.sdk:ErrorInnerErrorKey=Error Domain=com.apple.accounts Code=7 "The Facebook server could not fulfill this access request: no stored remote_app_id for app" UserInfo=0xaa91d40 {NSLocalizedDescription=The Facebook server could not fulfill this access request: no stored remote_app_id for app}}

like image 977
Omar Freewan Avatar asked Nov 01 '12 12:11

Omar Freewan


1 Answers

You need to provide your app bundle id in app settings on developers.facebook.com

iOS 6 Facebook posting procedure ends up with "remote_app_id does not match stored id"

like image 89
pckill Avatar answered Oct 01 '22 10:10

pckill