Problems with fbDidLogin never called iOS

前端 未结 6 1477
死守一世寂寞
死守一世寂寞 2021-01-22 02:18

I\'m having problems with my app saving the access_token. The problem is, when an iPhone hasn\'t the Facebook app installed, safari will handle this and there is no problem. But

6条回答
  •  不要未来只要你来
    2021-01-22 03:06

    I've found a workaround, which imo is better the using the Facebook app. In the Facebook.m file i've changed this:

      [self authorizeWithFBAppAuth:YES safariAuth:YES];
    

    to this

      [self authorizeWithFBAppAuth:NO safariAuth:YES]; 
    

    In this case users don't leave the app, and everything is handled within the popup without using the Facebook app.

提交回复
热议问题