marketing

facebook-ruby-business-sdk: Streamline Meta Ads with Ruby

Use the facebook-ruby-business-sdk to integrate Meta Marketing API into your Ruby apps, letting founders automate ad campaigns and track performance effortlessly.

From the repo · “Ruby SDK for Meta Marketing API”

intermediate⏱ 1-2 hours💵 Free (self-hosted)
215 stars168 forksRubyGuide quality 8/10 · reviewed Oct 18Updated 9/21/2026100% free · open source
What it is

Get the Meta Marketing API via Ruby, so you can automate tasks and fetch insights.

Real use case example

"A founder wants to monitor Amazon product performance and automate tasks. They connect their Meta Business account to the SDK, write some simple Ruby code (like `client.product.get_product_info('ASIN_123')`), and schedule a daily Amazon product report to be created in Notion."

Best insideClaude DesktopCursor
When to use it
  • •When building a Ruby application that needs to automate Facebook ad management
  • •When integrating Facebook marketing data into a Ruby-based analytics pipeline
  • •When creating a custom Facebook ads dashboard using Ruby on Rails
Ready-to-paste prompt
client.get_ad_account(ad_account_id: '1234567890', fields: ['id', 'name', 'balance'])
Heads up: You need to have a Facebook Developer account and obtain an access token with the correct permissions to use this SDK, and ensure you're using a compatible Ruby version (2.5 or higher)
Saves to your device
Use with Claude
New

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

🔑 Needs an API key

Works after you add credentials — the setup agent will ask you for them.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/facebook-ruby-business-sdk && curl -fsSL https://workflowstacks.com/api/skills/facebook-ruby-business-sdk/claude-skill -o ~/.claude/skills/facebook-ruby-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-ruby-business-sdk: Streamline Meta Ads with Ruby works
Codeflow
Free to inspect

Facebook-ruby-business-sdk: Streamline Meta Ads with Ruby is a large Ruby project (~50k lines across 1309 code files, plus 24 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit a month ago, Other license, has a test suite.

Size
Large codebase
~50k lines · 1309 code files · ~7 h to skim
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Ruby
No API keys detected
Ruby 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    lib/facebook_ads.rb
    Inside lib/ — the main logic begins here
  3. 3
    examples/AdAccountAdCreativesEdge.rb
    A worked example — copy this to get going
What's in each folder
lib/Core code — the actual logic1168 files
examples/Examples you can copy148 files
spec/Tests — proof it works18 files
.github/CI / automation (GitHub Actions)4 files
READMEHas testsDocumentedCI checksExamples includedOther licenseUpdated 1 mo ago
Quick Actions
Details
Creator
facebook
Language
Ruby
Category
marketing
Published
2/25/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-ruby-business-sdk.svg)](https://workflowstacks.com/skills/facebook-ruby-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