Facebook Implementation within app (without openin

2019-06-24 14:11发布

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.

1条回答
Evening l夕情丶
2楼-- · 2019-06-24 14:42

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.

查看更多
登录 后发表回答