iOS - being logged-in in a webView after logging in with the SDK

后端 未结 2 1650
天命终不由人
天命终不由人 2021-01-13 11:37

I\'m building an iPhone app that has some social features. I\'ve managed to get the user to log-in to Facebook within my application. I\'ve also implemented a webview that l

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-13 11:51

    were you testing your app on the simulator or on the device? The reason i ask is because im trying to get the app to stayed logged into fb which it does, sorta...it still pops a fb dialog saying it logged in fine and the user has to click on an OK button.

    I havent had time to test it on the device but i think it may have to do with the fact that with the OAuth 2.0, with 3.2.x or >...if the fb is installed, it uses the fb-app login but if its not installed it uses the safari web login.

    Since simulator doesnt have the fb app installed, it actually uses the safari web login (i humbly deduced) which would otherwise store a cookie and maybe it doesnt do so on the simulator..dunno, im still looking for the answer on that one :)

提交回复
热议问题