teamcaz
I hate code!
Profile
Posts: 513
Reg: Jun 12, 2011
carlsbad
5,130
06/06/14 05:36 AM (10 years ago)

Facebook login Scringo issue

I have integrated Scringo into my IOS app. The app crashes when logging in using Facebook. In the Scringo tutorial it says to put this in the app.m Delegate space, but when I put it in any part of the code it throws errors... any ideas? or can anyone tell me where exactly to put it? // Inside this method, add a call to Scringo -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { return [Scringo handleOpenURL:url]; } In Xcode it throws me this error when trying to use Facebook login: libc++abi.dylib: terminating with uncaught exception of type NSException
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
06/06/14 07:29 AM (10 years ago)
 
teamcaz
I hate code!
Profile
Posts: 513
Reg: Jun 12, 2011
carlsbad
5,130
like
06/06/14 08:19 AM (10 years ago)
I appreciate that, but I checked and the Facebook app ID is correctly in the info.plist... could it be that I didn't put this code in my app delegate.m file... reason is I don't know where to put it without throwing off errors... // Inside this method, add a call to Scringo -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { return [Scringo handleOpenURL:url]; }
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
06/06/14 11:44 AM (10 years ago)
did you put "fb" in front of your facebook id? did you add it to your plist like this? :https://developers.facebook.com/docs/ios/getting-started Put that code anywhere in your appDelegate.m. Not in any other methods though of course
 
teamcaz
I hate code!
Profile
Posts: 513
Reg: Jun 12, 2011
carlsbad
5,130
like
06/06/14 11:49 AM (10 years ago)
It's crazy no matter where I put it in the code it throws errors... I will post the errors...
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
06/06/14 11:53 AM (10 years ago)
did you add the facebook framework.I was having a hard time with this as well not to long ago.Im sure you might just be putting it in another method.Ill send a sample of mine when I can get to my computer
 
teamcaz
I hate code!
Profile
Posts: 513
Reg: Jun 12, 2011
carlsbad
5,130
like
06/06/14 11:53 AM (10 years ago)
Thank you
 
teamcaz
I hate code!
Profile
Posts: 513
Reg: Jun 12, 2011
carlsbad
5,130
like
06/06/14 11:54 AM (10 years ago)
Worst case scenario could you possibly team viewer to see what I'm talking about?
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
06/06/14 02:27 PM (10 years ago)
yea pm me
 

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.