marketing

facebook-java-business-sdk: Simplify Meta Ads

Easily manage Meta marketing with the facebook-java-business-sdk, a Java SDK for startup founders.

From the repo · “Java SDK for Meta Marketing APIs”

intermediate⏱ 30 minutes💵 Free
473 stars+2★ this week344 forksJavaGuide quality 8/10 · reviewed Jun 29Updated 9/21/2026100% free · open source
What it is

Use the Java SDK to access Meta's Marketing APIs

Real use case example

"A founder wants to automate their e-commerce store's Facebook ads. They use the Java SDK to connect their store's data to Meta's API, then create an automation that updates ad targeting based on product catalog changes. After 5 minutes of setup, their ads start showing more relevant products to their customers, resulting in higher conversion rates."

Best insideCursorCodex CLIAny AI Client
When to use it
  • •When you need to automate Facebook ads management
  • •When you want to retrieve insights and metrics for your Facebook marketing campaigns
  • •When you need to integrate Facebook marketing capabilities into your Java-based application
Ready-to-paste prompt
FacebookAdsConfig config = new FacebookAdsConfig.Builder().accessToken("YOUR_ACCESS_TOKEN").appSecret("YOUR_APP_SECRET").build();
Heads up: You need to have a Facebook Developer account and a Facebook app with a valid access token and app secret to use the facebook-java-business-sdk
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/facebook-java-business-sdk && curl -fsSL https://workflowstacks.com/api/skills/facebook-java-business-sdk/claude-skill -o ~/.claude/skills/facebook-java-business-sdk/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How facebook-java-business-sdk: Simplify Meta Ads works
Codeflow
Free to inspect

Facebook-java-business-sdk: Simplify Meta Ads is a very large Java project (~522k lines across 1318 code files, plus 20 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit a month ago, Other license, has a test suite.

Size
Very large codebase
~522k lines · 1318 code files · days to read — use, don't read
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
Java/JVM
No API keys detected
Java 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    src/test/java/com/facebook/ads/ServerSideNormalizationTest.java
    Inside src/ — the main logic begins here
  3. 3
    examples/AdAccountAdCreativesEdge.java
    A worked example — copy this to get going
What's in each folder
src/Core code — the actual logic1182 files
examples/Examples you can copy160 files
.github/CI / automation (GitHub Actions)5 files
READMEHas testsDocumentedCI checksExamples includedOther licenseUpdated 1 mo ago
Quick Actions
Details
Creator
facebook
Language
Java
Category
marketing
Published
12/1/2015

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/facebook-java-business-sdk.svg)](https://workflowstacks.com/skills/facebook-java-business-sdk?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.

Ready-to-run pack · one-time $29

Rank Tracker

A weekly email of where you actually rank on Google.

Includes the tested workflow and a written setup playbook. Needs: SerpAPI key (free tier).

See what you get