Facebook SDK for Android 4 - Authorize and Logout

  • 10 years ago
http://www.mybringback.com

In this Facebook SDK for Android tutorial we will learn how to give our application access (or authorization) to communicate with Facebook. We will set up our button to ask for this authorization, but we will also need a method to catch the information coming back from Facebook, or more specifically, we need to create an onActivityForResult method and with in that method create the Facebook authorizeCallback method. We will also create a way for our application to "logout" or restrict that communication with Facebook.

Recommended