views:

1567

answers:

4

How to integrate Facebook Connect and API with Android Application?

+2  A: 

Check out FBConnect for Android

There is also a very minified login script for Facebook here

Pentium10
Do you have experience with this library? It seems that it isn't a official port of the IPhone library.
Janusz
No, but I used the 2nd(see edit) to login to Facebook, and get the session id. Then I pass this session id to a PHP RestServer to work with the FaceBook API there with PHP. Since API changes are frequent, I recommend just using the minial, and use on a own web server, where you can update the code if the API gets updated, and you don't have to update the mobile application, which is definetly harder.
Pentium10
A: 

For integrating Facebook to your app check following link: http://www.mobisoftinfotech.com/blog/android/845/

MAkS
A: 

I am using FB connect in my application. I am able to get first name, last name, age, sex, activities, But when i want to retrieve email, it returns null. Why is it so?

Sam
You might not be asking for the email permission.
Abhinav
+2  A: 

The official Facebook SDK for Android is now available here: http://github.com/facebook/facebook-android-sdk/

You can read the announcement here: http://developers.facebook.com/blog/post/385

It's still rather rough around the edges

Mike
I would say it has 11 BIG TIME issues that fails 90% of the time. Not usable for now
Daniel Benedykt