Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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/