trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
05/05/14 04:30 AM (10 years ago)

Scringo login with Facebook crashes

Usng BT3 and latest Scringo SDK/Facebook SDK, when I try login with Facebook, the app crashes out. Login with Twitter works fine. (note: this is using SCR Chatroom plugin, but assue it would do the same if calling Scringo via sidebar/fullscreen) Anyone else having this problem?
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
05/05/14 07:22 AM (10 years ago)
Hey Trouty, Can you paste your console log? Sounds like the facebook PLIST entries arn't correct... but the log might point to something
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
05/05/14 11:52 AM (10 years ago)
2014-05-05 19:47:59.414 thevampschatnshare[991:60b] *** Terminating app due to uncaught exception 'com.facebook.sdk:InvalidOperationException', reason: 'FBSession: No AppID provided; either pass an AppID to init, or add a string valued key with the appropriate id named FacebookAppID to the bundle *.plist' *** First throw call stack: (0x2f97afd3 0x3a1f3ccf 0x2f97ace9 0x1d5c65 0x1d5b47 0x1d5af1 0x1d6c07 0x1fb3e1 0x1fb415 0x1fc599 0x27d9ed 0x321cc057 0x321cbff7 0x321cbfd1 0x321b7737 0x321cba4f 0x3218ef33 0x321c6d69 0x321c668f 0x3219b8ed 0x32199f97 0x2f94625b 0x2f94572b 0x2f943f1f 0x2f8aef0f 0x2f8aecf3 0x34807663 0x321fa16d 0x115c49 0x3a700ab7) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
05/05/14 11:55 AM (10 years ago)
Ok, so that narrows it down a bit. I was on the right track. When you added your facebook app ID to the Plist file, something didn't go right. Your project isn't seeing your facebook app ID in the right location. When I did it for mine, I found looking at their screenshots for the plist helped more than reading their text in their integration guide. Take a look at what they have listed in their file, and make sure yours matches.
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
05/05/14 11:59 AM (10 years ago)
yep, hadn't registered the app with Facebook or added the plist or anything! cheers, when i get an hour or 2 ill add those in
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
05/05/14 12:01 PM (10 years ago)
There ya go :) Glad we got it sorted
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
05/07/14 07:24 AM (10 years ago)
Well doing the Facebook side of things took just 10 minutes :o) App now 'awaiting review'
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
05/07/14 07:26 AM (10 years ago)
Sweet!
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/12/14 08:13 PM (9 years ago)
My app still crashes even after adding it to p-list.any suggestions?its been awhile since ive dont this
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
05/12/14 10:43 PM (9 years ago)
Add SDK Add code Create Facebook app details on Facebook dev centre Add FB details to plist I think that is all the steps
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/13/14 05:12 AM (9 years ago)
Ok cool thanks.maybe I need yo clear data on stimulator and try on real device
 

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.