views:

316

answers:

4

Is there any api for facebook to integration in android?

I got a requirement to publish images to facebook through android application.

Please give links or suggestions regarding this..

Thank you..

+1  A: 

If you had taken the time to Google "Android Facebook SDK" you'd have immediately found the official Android Facebook SDK: http://github.com/facebook/facebook-android-sdk

Having used it in a project I can say it's a little rough around the edges as the new oAuth / Graph API based stuff is quite young, but it works well with a little tweaking.

Yoni Samlan
+1  A: 

You can use FBRocket, download from here .

FBRocket is a lightweight Facebook SDK written from scratch specifically for the Android platform.

FBRocket makes it really easy to integrate Facebook functionality into your existing projects. You can make simple method calls like:

facebook.setStatus("Hello, Application is using FBRocket!");

to change your user's status, so you can imagine the hundreds/thousands of uses for this library!

There are also features to retrieve friend status, etc.

For more information about FBRocket, refer this page .

Refer this example for Updating Facebook status by using FBRocket .

Hope this helps you.

Enjoy!!!

PM - Paresh Mayani
A: 

Hi friends, I used FBRocket API , whet happen exctly, when I login with my id it working fine, but when I try to login with different userid , it shows me Exception like :

FBRequestError (200): The user hasn't authorized the application to perform this action

Pls suggest me why this is happening.

Shubh
You've posted your question as an answer to someone else's question. No one will see your question here. Ask a new question instead.
teedyay