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.

WordPress

carine todmia
carine todmia
6,071 Points

wordpress membership site with facebook authorization

Hi, im really curious about a trend ive been seeing lately. you know how some sites or apps want you to log in and you have an option to log in with your facebook login or twitter login...well how exactly is that done.

more specificially lets say i wanted to created a members area for my site (it doesnt have to be a social network, just specialized content in the members area) and i wanted people to be able to login using their facebook login. how would i go about doing this?

3 Answers

Luis Arano
Luis Arano
866 Points

Hi there, Facebook has a plugin for WordPress (https://wordpress.org/plugins/facebook/) If you download the plugin and install it on your WordPress site I'm sure you'll find all the options Facebook allows for.

Hope this helps,

-Luis

Luis Arano
Luis Arano
866 Points

Actually, I found a better one for you; check this one out (https://wordpress.org/plugins/oa-social-login/)

It authenticates using a bunch of other social networks :) Let me know how it ends up working out for you.

-Luis

carine todmia
carine todmia
6,071 Points

thanks, ive tried this and there were a lot of things i didnt like about this. i think for my own learning purposes i want to look at how i would create this myself rather than rely on a third party plugin

carine todmia
carine todmia
6,071 Points

i guess i should be search for oauth ?

carine todmia
carine todmia
6,071 Points

at first glance i think this is closer to what im thinking about https://wordpress.org/plugins/users-ultra/