Facebook Java Jar App -

Build with:

<dependency> <groupId>com.restfb</groupId> <artifactId>restfb</artifactId> <version>2023.11.25</version> </dependency> FacebookClient client = new DefaultFacebookClient(accessToken); User user = client.fetchObject("me", User.class); System.out.println(user.getName()); If you're creating a custom feature that talks to Facebook and packaging it as a JAR:

mvn package # generates target/my-facebook-feature-1.0.jar | If you want... | Use... | |----------------|--------| | Ads/Marketing API | Official Facebook Business SDK | | User timeline, posts, profile | Facebook4J or RestFB | | Minimal custom feature | Build your own JAR with RestFB | facebook java jar app

It sounds like you're asking about a (possibly a library or integration) related to Facebook , packaged as a JAR file for use in an application.

<dependency> <groupId>com.facebook.business.sdk</groupId> <artifactId>facebook-java-business-sdk</artifactId> <version>19.0.0</version> </dependency> Build with: &lt;dependency&gt; &lt;groupId&gt;com

Another alternative: RestFB – simple, no heavy dependencies.

my-facebook-feature/ ├── src/main/java/com/myapp/FacebookPublisher.java ├── pom.xml (or build.gradle) &lt;dependency&gt; &lt;groupId&gt;com

public class FacebookPublisher public void postToPage(String pageId, String message) // Use Facebook4J or RestFB internally

By clicking “Accept”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policyfor more information.