https://github.com/restfb/restfb-examples
Exmples how to use RestFB
https://github.com/restfb/restfb-examples
examples java restfb
Last synced: 9 days ago
JSON representation
Exmples how to use RestFB
- Host: GitHub
- URL: https://github.com/restfb/restfb-examples
- Owner: restfb
- License: mit
- Created: 2016-01-10T16:21:41.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-05T22:07:17.000Z (about 2 years ago)
- Last Synced: 2024-03-26T03:00:52.534Z (almost 2 years ago)
- Topics: examples, java, restfb
- Language: Java
- Homepage:
- Size: 465 KB
- Stars: 54
- Watchers: 15
- Forks: 32
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# restfb-examples
First run:
```bash
$ mvn compile
```
You can run the examples afterwards like this:
```bash
$ 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](http://restfb.com).
Or simply take one from [Facebook Graph API Explorer]([https://developers.facebook.com/tools/explorer/]).
You need [maven](https://maven.apache.org/) (>3.3.1) to be installed on your system.