Facebook API for Java application (for example, using the Swing library) [closed]
I have to write an application which will use some Facebook API to connect with a user account, check the user's message box, and maybe checks the user's wall.
Among others, I saw http://code.google.com/p/facebook-java-api, but getting the started guide shows how to do it only for servlets.
There does not seem to be an official way to do this, most likely because of authentication requirements. You have to embed restful APIs in your application. The REST API, that you can use to call Facebook from a Java application, is at http://restfb.com/.
精彩评论