I have downloaded facebook-java-api-3.0.2-bin from
http://code.google.com/p/facebook-java-api/
for connecting to face book.I want to use this api in my java application to connect Facebook.I am developing a desktop application for this purpose.I have created account on Face book and registered as a developer.
Is it possible to connect Facebook from my java application?
If yes please, can some one send me the example code for that and treat me as a New Bee in this facebook integration?
Thanks in advance.
On access of an url or in welcome page the Facebook Login button is shown. The user will click the FB button to login into the Java web application. On click of that button a Facebook URL will be invoked. Facebook will validate the application ID and then will redirect to its login page.
Yes, it is a REST API as well. Show activity on this post. Yes, there have been 3 Facebook API's to date: Legacy REST.
Have you tried out the various examples available in the api wiki?
http://code.google.com/p/facebook-java-api/wiki/Examples
Google also returns various tutorial pages:
http://programmaremobile.blogspot.com/2009/01/facebook-java-apieng.html
http://www.socialjava.com/socialjavastepbystep.html
You should try working through some of these and posting specific questions about problems you run into.
Note that the facebook-java-api project is now dead.
Use instead: http://restfb.com/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With