Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

restfb

> 数据库
Open source

RestFB is a simple and flexible Facebook Graph API client written in Java.

774 stars0 likes0 views
WebsiteGitHub

About

RestFB is a simple and flexible Facebook Graph API client written in Java.

RestFB (http://restfb.com)

What it is

RestFB is a pure Java Facebook Graph API client with no external dependencies.

It was created by Mark Allen and is maintained by Norbert Bartels along with a worldwide team of contributors.

Licensing

RestFB uses other open-source software - see the LICENSE.*.txt files. RestFB itself is open source software released under the terms of the MIT License.

Installation

RestFB is a single JAR - just drop it into your app and you're ready to go. Download it from Maven Central:

Building it Yourself

Builds require JDK 17 or newer. RestFB artifacts still target Java 11.

Just type

mvn package

and the jars will be built and can be found in the target folder.

Code formatting is checked during mvn verify. You can also run it directly:

mvn spotless:check

To apply the configured Eclipse formatter, run:

mvn spotless:apply

Usage and examples

We provide well-curated documentation with many code examples. These are all clearly commented and give a good overview of the functionality RestFB provides.

Additionally, you can take a look at the integration tests here on GitHub. Some interesting use cases are exercised there and you can get a good idea of the different features that are provided by RestFB.

There is also the example project on GitHub. It contains a suite of tools that can be triggered via Maven calls. Additionally, for the fetching and publishing example, you can find a JavaFX code sample, that shows how you can use an embedded browser to fetch a user access token.

Sponsors and Backers

You like RestFB and you like to support the development, but you cannot contribute any code? Then we have good news for you. We added the sponsor button to this repository, and you can join the list of sponsors with a simple click.

Please check the different tiers. We have a suitable for everyone. Depending on the tier, you even get a place on the official RestFB website with your name, company logo, link and more.

Getting in touch

Facebook has suspended the RestFB page without providing any clear or understandable reason for the action. Therefore we cannot provide support via Facebook anymore - sounds strange, but it is what it is.

  • GitHub Issues: If you have ideas, bugs, or problems with RestFB, just open a new issue.
  • Bluesky: You can follow us on BlueSky to get the latest updates.
  • LinkedIn: You can get in touch with us here and get the latest updates:
  • Stackoverflow: Questions about RestFB are answered on Stackoverflow. We'll help you there, too.
  • Google Groups: If you'd like to talk to other RestFB users, just send a message to our Google Group!

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javafacebookfacebook-adsfacebook-messengergraph-api

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库