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

Android

How to add easily facebook login ?

I wanted to add facebook login and I looked at facebook sdk webside unfortunately I didnt understand :( is there any way to add easily

1 Answer

Adding facebook features is a multi-step process. You are going to need to download and import the facebook SDK then setup your app as a registered app on their developer page ( and get a key).

The payoff, is that you can then use their login button, which does all of the signin and callbacks for you. Its worth taking the time to do their quick start guide, and just taking it step by step. If your willing to try, i will check back in and try to help you.

A GREAT alternative is to use Fabric, i was just given access yesterday, and it comes as a plug-in for android studio that gives you Twitter, Crashlytics, and Admob. However, the plug-in essentially walks you through, and provides you all the steps you need to do ( such ass adding views and code ) and then it modifies your manifest for you. If your willing to use twitter to log folks in instead of facebook, it's a great option.