Fingers Crossed
Veteran developer
Profile
Posts: 234
Reg: Jan 16, 2012
Simcoe, ON
6,390
05/01/13 06:11 AM (12 years ago)

Bug in BT delivered source code for Scringo - Connecting to FaceBook. Fix enclosed

Hi folks, After a lot of digging, and help from Elon @ Scringo, I suspect there's some missing code in the BT source. These lines need to be added to your appdelegate.m file to allow FaceBook to connect. Once they are added it connects just fine in sandbox and (hopefully) production. (I placed them just after my Scringo ID) Thanks -(BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { return [ScringoAgent handleOpenURL:url]; } -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{ return [ScringoAgent handleOpenURL:url]; }
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
05/01/13 10:51 AM (12 years ago)
thanks! I made a note of this. cheer! ian
 
Pancho
Code is Art
Profile
Posts: 221
Reg: Mar 06, 2012
Lima
11,610
like
05/01/13 11:30 AM (12 years ago)
Thanks "Fingers".
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
05/01/13 01:47 PM (12 years ago)
that errors for me... instead, i put -(BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { return [ScringoAgent handleOpenURL:url]; } just above the //dealloc
 
Fingers Crossed
Veteran developer
Profile
Posts: 234
Reg: Jan 16, 2012
Simcoe, ON
6,390
like
05/01/13 04:53 PM (12 years ago)
Here's exactly where i put it if it helps. [ScringoAgent startSession:@"qwertyuioplkjhgfdsazxcvbnm" locationManager:nil]; }//app parsed it's configuration data } -(BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { return [ScringoAgent handleOpenURL:url]; } -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{ return [ScringoAgent handleOpenURL:url]; } /* downloadAppData...
 

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.