简体   繁体   中英

facebook connect for android

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

Before I used an open source solution from codecarpet: http://code.google.com/p/fbconnect-android/

but now it doesnt work anymore.

Now the Official facebook connect for Android is out, but there are about 11 big time issues and it fails almost all the time, so its not a real solution. http://github.com/facebook/facebook-android-sdk/

Any idea how to resolve this issue?

Thanks

update.

Now Facebook connect for android works great.

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

This is the best solution now. Thanks for the help.

  1. Create a Facebook app
  2. Embed a WebView in mobile, redirect to facebook mobile gateway
  3. catch the redirect that runs beetween Facebook and your Facebook app server for post authorize
  4. redirect from your server back to Facebook to get the permissions
  5. once Facebook notifies your server that permissions are granted
  6. request a sessions exchange from Facebook and it will return the session it to your server url

based on redirects that are placed in the webview you can detect if the user is logged in, and the session exchange is needed to as Facebook will place the session ID in your URL so you will be able to save it by processing getPath()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM