Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Sing up with "insertsocialmediahere"

So after some searching on the web with no luck, I was wondering how the "sign up with Facebook" button, as well as the other social sign up buttons, worked. Would it be possible to make a button to use the credentials gathered from any site work in the same fashion? I'm still relatively new to Javascipt so I'm not 100% sure if java is the way to even go with this. Any kind of light shed on this subject would be amazing and much appreciated!

Thanks!

I worked on a website using the signup with steam feature. It was an API that we used PHP to pull from. Basically when the user enters their account information they are giving information for steam to give us their info. So we had access to their name, username, e-mail, location, etc..

Cool, so basically you would use an API/PHP to pull that information from the where ever your database of info is, then auto complete the sign in form. Now that I am looking for some API sign up programs I am getting a lot more results. Thanks Blaize!

The way we did it was pull all of their information into our database and then check for any missing information such as Location. If it was missing we would redirect them to a form where they could complete their profile. If everything was filled out we redirected them back to the home page signed in to their new account.