GitHub - restfb/restfb-examples: Exmples how to use RestFB

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Folders and files

NameName

Last commit message

Last commit date

Latest commit

History

11 Commits

Repository files navigation

restfb-examples

First run:

$ mvn compile

You can run the examples afterwards like this:

$ mvn exec:java@run-reader-examples -Daccess_token=MY_ACCESS_TOKEN
$ mvn exec:java@run-publisher-examples -Daccess_token=MY_ACCESS_TOKEN
$ mvn exec:java@run-login-example -Dapp_id=APP_ID -Dapp_secret=APP_SECRET

Instructions for getting an OAuth access token are available on RestFB. Or simply take one from Facebook Graph API Explorer. You need maven (>3.3.1) to be installed on your system.