简体   繁体   中英

Facebook Implementation within app (without opening in safari or native app)

I have gone through the FBCOnnect sample code for iPhone downloaded from http://developers.facebook.com/docs/guides/mobile/ But it opens the facebook page in safari or on device the native app is opened and the app is switched in Background I dont want this to happen.Also the method callbacks like '- (void)fbDidLogin' is not called at all after login.

In the Facebook iOS SDK, you can edit Facebook.m's authorize method and set safariAuth and authorizeWithFBAppAuth both to no so that it does the Facebook connect style popup login.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM