What are the differences between the different ways to log in to the FB?

There are three different login methods on iOS:

  • Website Login
  • Login with Safari
  • Login through the Native App

and another one in iOS 6 is logging in via the built-in pop-up controller using your iOS 6 Facebook credentials.

In my case, I use the FB comment plugin inside the UIWebView, and I would like to let the user leave comments there. To do this, I use the FB login through a web popup. Using other methods leads to two different results:

  • FB comment plugin not loading at all
  • FB comments plugin loaded, but the user is still unauthorized (login through Safari)

While I have no idea how to deal with the first, the second happens, I think, because cookies (or FB credentials) are stored in safari, but not in my application, which is required for the comment plugin to understand that user is logged in.

In this case, I wonder - when and where should we use each of the FB input approaches? And what should I use in my case?

+4
source share
1 answer

I recommend using Parse to manage social accounts. It integrates very easily with your code and is free for your purposes. Take a look . Just register with Parse, build the app, and follow the easy-to-follow quick start guide. They also have excellent documentation and forums to help you.

0
source

Source: https://habr.com/ru/post/1446789/


All Articles