how to do facebook login in iOS 6?

前端 未结 2 1258
既然无缘
既然无缘 2020-12-15 02:16

My app uses the facebook login to authenticate the users, I heard about the facebook integration become inside the iOS SDK itself,

now if the integration become in

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-15 02:43

    You need to import the Facebook SDK 3.x anyway.The only difference in login poroces is that if the user is already logged in with the native facebook integration, your app will not sent to background while user tries to login.In other words login does not open the web page of facebook or optionally installed facebook app.Ios shows a uilaertview that says you app wants to access Facebook ant thats all.If user clicks ok you app will be allwed and you can see it on the settings app unde facebook.

    From the implementation perspective it does not make any difference.You can use the tutorial on facebook developer homepage.

    http://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/

提交回复
热议问题