Take the 2-minute tour ×

I am using plain javascript to fetch feeds from the facebook by graph apis using fb javascript sdk.

However, my ultimate need is to parse the results and store it to my db via a java program.

So, how do I do that?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

You can use restfb framework for acessing facebook graph api via Java

share|improve this answer
well is there facebook supported official api's for doing the stuff directly in java like fb provided javascript sdk ? –  Vik Feb 3 '11 at 4:16
No, they dony have any java api at the time being –  fmucar Feb 3 '11 at 9:10

Make the request from the Java environment, this would be much safer since you don't have to post the result from your javascript to the server hence avoiding that somebody malicious tempers with your javascript result.

share|improve this answer
oh how to do that? are there any java based apis available to get fb data ? –  Vik Feb 2 '11 at 17:45

Your Answer


