facebook java integration
I followed http://developers.facebook.com/docs/authentication and got the access_token of a user. Now, I want to post some text/images onto his wall from a java application.
How 开发者_运维百科can I use this access_token to publish onto user's wall?
I could not find any suitable documentation for desktop applications.
-- Thank you.
Take a look at restfb - a Java API for both the Graph API and the old rest API.
Make sure that you have applied for the access token with the publish_stream permission.If so you can easily post images or messages or links to the users wall using restfb. There are a lot of sample codes available in the restFb website.
精彩评论