Solved

Logging into a website with Facebook/Twitter/Google etc.

Posted on 2016-09-07
2
91 Views
Last Modified: 2016-09-07
Please excuse my ignorance, but I really don't understand this concept.

I have been to 100's of sites and most of the sites I access show me an option to log in with the details I registered my account with, but also have a log in with Facebook or Twitter option.  

I have never actually ever logged into any of these using Facebook or Twitter because I don't know why I would want to. I am considering learning how to do this but am also asking myself why I would want to do this and what is the benefit?

If someone could please explain it to me I would be most grateful. I know I can just ask Google but a lot of times Google gives me way too much info and can end up being more confusing that informative.

Thanks
0
Comment
Question by:Black Sulfur
2 Comments
 
LVL 31

Accepted Solution

by:
Marco Gasi earned 400 total points
ID: 41787400
what is the benefit?
First, you can offer to your users to login in a simple way: you don't need to send a verification email, for instance because any verification has been already done by social network you use (Fb, Google, Twitter...); users have just to click twice, one on the "Login with..." button and one to the authorization button and they are in.
Second, you can retrieve a lot of information from their social account and save them to your database (even if Twitter AFAIK gives you mutch less informations than Google and Facebook).
Third, it is a trendy function, as you saw by your self: many many websites/applications offer this feature and you might want to be at the same level :)

how to do this
There are a tons of libraries to do it easily with Php: https://www.google.es/search?q=php+login+with+google+twitter&ie=utf-8&oe=utf-8&gws_rd=cr&ei=p8bPV6_cN8TxUJzxgoAO 
Some year ago I used this: http://www.9lessons.info/2012/10/login-with-facebook-and-google.html but I'm taking a serious look at this one in these days: http://hybridauth.sourceforge.net/ and it looks good
1
 
LVL 9

Assisted Solution

by:Brian Tao
Brian Tao earned 100 total points
ID: 41787594
Some other reasons include:
1) for security.  You no longer have to store sensitive information in your own database.
2) for ease of access. Your users don't have to remember another set of username/password.
1

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
You don't always have to apply to land your dream job, keeping your LinkedIn profile up-to-date enables recruiters to look for people just like you!
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question