views:

291

answers:

3

Hi all,

could someone help me on this problem,

i want to access facebook API through java application. i was looking for java implementation similar to that twitter is having, does anyone have an experience on connecting fb using something like fb4j.jar.

I highly appreciate any help

A: 

Hi,

I just implemented a photo import from FB using http://code.google.com/p/facebook-java-api

It was not easy though as the examples/doco are quite out of date and the authorisation and FB API in general are very confusing.

There's several ways to 'integrate' with facebook e.g. an actual FB application vs facebook connect (login via FB).

What specifically are you trying to do?

cheers

Lee

leebutts
hi leebutts, i need to update fb profile data through java application, do you have some idea on how do this, could you share your experience with us
KItis
yeah it was very confusing for me too to use Java (Google app engine) with facebook api. But once you understand the essence of XFBML and Canvas app, and how cookies are passed between your server and facebook server, then it will make more sense.
portoalet
Because I'm working on a Grails app, I based my code on Nimble's facebook login code: http://code.google.com/p/nimble/Once you have a FacebookJsonRestClient object setup the API is pretty easy to use, it was just the authentication that I struggled with originally (until I had a read through the Nimble code).cheersLee
leebutts
A: 

Hi leebutts,

I also want to create a photo import application from facebook. Could you tell the things you did in creating the application. Great help...

Regards, Sririchran

Sririchran
A: 

hi,I'm developing a desktop java IM client for facebook(its my CSE year-2 term final project,so thats obvious how much i am intended to do it!)..i am trying to use facebook-java-api...but i am in deep water to find a way about how to log in using my app!? is there an api for login that i need to use in my java code?i have api key & secret key for my app..what i need is very simple..a gui that requests user to enter his facebook mail id & password,then my app will allow him to chat in facebook through itself...i am running out of time..& really in a fix....is there anyone kind enough to show me the perfect way to do so...i will be greatfull.i've gone through a lots of examples but all of them are on servlets or needs to access through website.I need to build something like pidGin or eBuddy mobile messenger...all i need is just a perfect example to login as i stated...looking forward to having a great response.... thanks in advance- dibosh

dibosh