Facebook Registration : The operation couldn't be completed (com.facebook.sdk error 2)

Erma Isabel picture Erma Isabel · Apr 17, 2013 · Viewed 11k times · Source

I am developing an ios phonegap application. For registration i use phonegap facebook plugin. It worked fine for the first time. But now when i try to register it isn't working. I haven't changed anything. I use Xcode version 4.6.1 and cordova version 2.4.0.

enter image description here

Figure shows my Facebook developers page.

What am i doing wrong?

Please help, Thanks.

Answer

Vinod Singh picture Vinod Singh · Apr 17, 2013

I think this will fix your issue:

  1. Go to you Facebook app in your Facebook account.
  2. Click edit your app.
  3. Go to Basic info tab.
  4. Sandbox Mode: check this as Disable
  5. Save the setting.

This will work for you.