Search code examples
iosobjective-cfacebookiphone-5

get error for facebook login "the operation cannot be completed (com.facebook.sdk error 2)" for iPhone 5


I created an application using facebook sdk 3.1.1 but i get error like "the operation cannot be completed (com.facebook.sdk error 2)" for iPhone 5. my bundle id and app id are correct. So can any one has any idea?

Thank you


Solution

  • Set sandbox mode to Off in your application settings in facebook.