Solved

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

Posted on 2016-09-07
2
52 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 30

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
This article discusses four methods for overlaying images in a container on a web page
The goal of the tutorial is to teach the user how to instant message and make a video call in Skype.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

744 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now