Integrating Android Facebook SDK 3.17.2 Tutorial

The last time i wrote a tutorial on Integrating Android Facebook SDK v3.6 with your App was 4-5 months back. Now that the latest Facebook SDK version is v3.17.2 lets do it again.

This Tutorial will demonstrate how to login to a Android App using Facebook login.

There are many changes to the SDK, the major additions are

1. Your app requires a API level 9 or below.
2. Graph API 2.1 is in.

Lets see what all we have missed in detail,

SDK v3.7 : 21st Feb, 2014

This version had some bug fixes related to ConcurrentModificationException during Session.StatusCallbacks run during session state changes. It also had some new additions like ProgessCallback to monitor upload progress and WebDialog builders.

SDK v3.8 : 24th Mar, 2014

This version had a new addition PhotoShareDialogBuilder that allows sharing photos via Share Dialog. It also had a fix that disabled data saving in the WebView-based Login dialog.

SDK v3.14 12th May, 2014

This was a major leap from 3.8 to 3.14, don't know where the in between releases go,maybe alpha releases. This version had some major additions and modifications.

Modifications :

1. From this SDK ver. all class by default calls to the Graph API 2.0
2. LoginButton uses the New Login.
3. Migration handling code has been removed
4. Code Samples are being Updated

Additions :

1. AudienceNetwork SDK
2. MessageDialogBuilder
3. PhotoMessageDialogBuilder
4. OpenGrapDialogBuilder
5. Bolt SDK
6. FacebookAppLinkResolver
7. Versioning to SDK request calls
8. Ability to query the session for Permissions granted and declined

SDK v3.14.1 13th May, 2014

This minor version had the following Bug Fixes

1. AudienceNetwork bug being fixed
2. NUX Login bug fixed
3. Pull requests from lopespm and gertcuykens

SDK v3.15 : 12th Jun : 2014

This Major release had internal and stability improvements and logImpression() and handleClick() functions were removed.

SDK v3.16 : 18th Jul : 2014

New FriendPickerFragment that allows for taggable friends and invitable friends

1. PublishInstall being removed and activateApp to be used instead.
2. GraphAPI, ProfilePicture and SessionLogin samples are being removed.
3. Pull Request 361 fixed.

SDK v3.17 : 7th Aug : 2014

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!