Craig Conover
Aspiring developer
Profile
Posts: 56
Reg: Jan 01, 2013
Menlo Park, CA
4,310
07/26/13 10:19 PM (12 years ago)

com.facebook.sdk error 2 when attempting to sign up or login

I get the following error message in an alert popup in my iOS app when I test run on my device when I click the Sign Up or Login with Facebook using Scringo. It also seems to know what my Facebook account is on my device, but nothing more than that. Is this just a sandbox thing and I need to use test user? I have googled and tried many things including many different posts here on BT Forums. I feel like I am on the edge of success here, but not knowing what to do next. Any help is appreciated. Here's my error message I get in the alert dialog: The operation couldn't be completed. (com.facebook.sdk error 2.)
 
Craig Conover
Aspiring developer
Profile
Posts: 56
Reg: Jan 01, 2013
Menlo Park, CA
4,310
like
07/26/13 10:20 PM (12 years ago)
No exceptions reported in the output either when this happens.
 
Craig Conover
Aspiring developer
Profile
Posts: 56
Reg: Jan 01, 2013
Menlo Park, CA
4,310
like
07/26/13 10:24 PM (12 years ago)
Email sign up an login works great. Just need Facebook to work now.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
07/27/13 08:40 AM (12 years ago)
Hi @Craig Conover, I'm not that familiar with the IOS side of it, but did you follow the directions in the "how to" section created by ian @buzztouch? LA
 
Craig Conover
Aspiring developer
Profile
Posts: 56
Reg: Jan 01, 2013
Menlo Park, CA
4,310
like
07/27/13 10:33 AM (12 years ago)
I did follow Ian's directions. I went back over everything as well. Not saying I didn't foul something up but I didn't see anything obvious. Twitter login works as well, but I read that is auto-bundled to work.
 
Craig Conover
Aspiring developer
Profile
Posts: 56
Reg: Jan 01, 2013
Menlo Park, CA
4,310
like
07/28/13 09:20 PM (12 years ago)
One of two things worked for me. I noticed that in my Facebook app, under Settings > Basic: 1) Sandbox Mode was Enabled, so I Disabled it. 2) Facebook Login was Disabled, so I Enabled it. #2 makes most sense for having a direct effect on the success of this. I'm not sure which one did it because when I try switching either setting back, it still works. Maybe some network/server update latency involved and it will stop working later, but hey... it's working. Until I know something definite, I'm going with flipping the switches above. If anyone has anything more specific to tell me, it would be much appreciated.
 
Craig Conover
Aspiring developer
Profile
Posts: 56
Reg: Jan 01, 2013
Menlo Park, CA
4,310
like
08/02/13 10:59 PM (12 years ago)
It's the bundle id field in the Facebook App. If you leave this field blank, you will get this error.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.