Archive

Posts Tagged ‘facebook batch’

Getting Batch Data from Facebook using restFB APIs

July 14, 2012 Leave a comment

Here is quick sample code to get data from Facebook Batch API.

Download the jar from here – http://code.google.com/p/restfb/downloads/detail?name=restfb-1.6.9.zip

And put it in your library path and execute the below code.

Go to this link and login to facebook to get your access token : https://developers.facebook.com/tools/explorer

Change the code to pass your “AccessToken” directly to “DefaultFacebookClient facebookClient = new DefaultFacebookClient(“<<<ACCESSTOKEN HERE>>>”);

Read more…