Check Facebook Connect Session on IOS

前端 未结 2 982
小蘑菇
小蘑菇 2021-02-06 12:50

With the new Facebook library, FBSession object is disappeared. How can i check if user has a valid session on his device immediately when he start the app without prompt to saf

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-06 13:23

    I'm pretty sure it should automatically check if the user is logged in, wether through safari or the Facebook iPhone app. If the user is not logged in, then it will prompt using one of the applications above (default is safari if FB app is not installed, thats why the simulator opens FB in safari).

提交回复
热议问题