How to get another user's details using RestFB?

Why do most developers prefer using Google, Facebook, Twitter and some other famous site details as log in option? Do they feel these site cannot be hacked or are they trying to get over the pain of maintaining a system that will keep users' details?

  • Answer:

    Neither. Of course, these "famous sites" can be hacked. And you will still need to maintain your own user database anyway; you're just using them to authenticate (and maybe pass on some other credentials). So it's not to be safer, and not to make it easier for the developer. The main reason to do this is to decrease friction for users. Everybody has a zillion usernames and passwords to remember, so registering yet another account, with another password policy, that you'll forget, and then have to reset every time you use it... is a bit of a hurdle to register users. It's much easier to just log in using Facebook/Twitter/Google/Yahoo/..., click the button and you're done. Which is great for site owners because it means more people sign up. (The drawback is the dependency it creates, and having to keep up with their changing APIs etc., but that's a bit beyond of the scope of this question.)

Adriaan Bloem at Quora Visit the source

Was this solution helpful to you?

Other answers

I think you're overestimating the role of developers in this question. Most sites have a team dedicated to product decisions, and most often, developers are NOT on that team as well. Generally developers have some ability to push back, but in this case, I don't think most would care that much.

Nick St. George

I know this might shock people, but there was a time that people trusted Google. Generally, people thought that Google's security was much better than the security that they could build in their own data warehouses. Your user data lives somewhere, right? The question is who do you trust? The data warehouse company that is known locally, or the international giant who has a reputation to protect Then we found out that Google is giving data out to the government, and now no one knows why we have passwords anymore. Security is a f*cking joke, if NSA can recover anyone's password at any time.

Jayesh Lalwani

This is just a matter of speeding up registration on a custom coded site. There is a pretty good chance that most users have a Google/Facebook/Twitter account, so by providing an external login option you not only allow new users to register on your site faster, but also make sure that the user doesn't simply leave your site because he/she doesn't have the time or doesn't feel like filling in the account registration form.

DigiOz Multimedia

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.