Skip to content
Exmples how to use RestFB
Java
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main Switch to Java 11 by solving JavaFX dependencies Jun 30, 2019
.gitignore
LICENSE
README.md Issue #5 - RestFB 2.0.0 is used now Dec 21, 2017
pom.xml Switch to Java 11 by solving JavaFX dependencies Jun 30, 2019

README.md

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.

You can’t perform that action at this time.