Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 863
Erma Isabel Avatar asked Dec 04 '22 11:12

Erma Isabel


2 Answers

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.

like image 74
Vinod Singh Avatar answered May 16 '23 04:05

Vinod Singh


First of all make sure about your Bundle Id should be correct.

And change your setting like it

enter image description here

Change sandbox setting disabled.

Also change your P-list setting like it

enter image description here

It will work fine. If you will face this problem again please let me know.

like image 32
chandan Avatar answered May 16 '23 05:05

chandan