Posts

Showing posts from June, 2015

Comparing Facebook and Google+ Login Integration for Android Apps

Recently, I had the opportunity to implement Facebook and Google+ login functionalities into an Android application. I decided to write a brief comparison of the two integration processes using Facebook SDK v4.3 and Google Play Services v4.3.23. Google+ Server-Side Setup : Requires creating a new app on the Google Developers Console. Android Manifest : You need to add the generated API key into the Android manifest file. Implementation : Involves a few methods. Your activity needs to implement ConnectionCallbacks and OnConnectionFailedListener . Facebook Server-Side Setup : Also requires creating a new app on the Facebook Developers site. Android Manifest : You need to add the generated API key to the Android manifest and declare one activity. SDK Compatibility : The SDK is not compatible with Eclipse directly; however, there are workarounds available on Stack Overflow. XML Customization : Customizing the Facebook button in XML requires overwriting styles in the Facebook SDK, which is