Facebook for Android

I am looking for a solution to connect facebook for Android.

Before using the open source solution from codecarpet: http://code.google.com/p/fbconnect-android/

but now it no longer works.

Now the official connection with facebook for Android is disabled, but there are about 11 big time problems, and it fails almost all the time, so this is not a real solution. http://github.com/facebook/facebook-android-sdk/

Any idea how to solve this problem?

thanks

+1
android facebook
source share
2 answers

update.

Now Facebook for Android works great.

http://github.com/facebook/facebook-android-sdk/

This is the best solution. Thanks for the help.

+1
source share
  • Create Facebook App
  • Paste WebView into mobile, redirect to facebook mobile gateway
  • catch the redirect that runs between Facebook and your Facebook application server for email authorization.
  • redirect from your server back to Facebook to get permissions
  • As soon as Facebook notifies your server of permissions
  • request an exchange of sessions from Facebook, and it will return the session to your server.

Based on the redirects posted in the webview, you can determine if the user is logged in and need to exchange sessions, since Facebook will put the session identifier in your URL so that you can save it by processing getPath()

0
source share

All Articles