marketing

facebook-php-business-sdk: Simplify Meta Ads

Streamline your Meta marketing efforts with this PHP SDK.
intermediate1-2 hours💵 Free (self-hosted)
916 stars532 forksPHPGuide quality 8/10Updated 8/27/2026100% free · open source
What it is

Uses Facebook's Marketing API to manage your marketing campaigns via a PHP interface.

Real use case example

"A founder, Emma, uses this skill to update her Shopify order management system whenever a Facebook ad lead becomes a customer, allowing her to better track sales."

Best insideClaude DesktopClaude Code
When to use it
  • When you need to automate ad campaigns and ad management on Meta platforms
  • When you want to integrate Meta marketing capabilities into your existing PHP application or website
  • When you need to retrieve insights and analytics on your Meta ad performance programmatically
Ready-to-paste prompt
$sdk->createAd('AD_NAME', 'ADSET_ID', 'AD CREATIVE ID', 'AD_TARGETING');
Heads up: You need a Meta Developer account and a registered application to obtain an app ID, app secret, and access token, which are required to authenticate and authorize API requests made through the SDK
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-php-business-sdk && curl -fsSL https://workflowstacks.com/api/skills/facebook-php-business-sdk/claude-skill -o ~/.claude/skills/facebook-php-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.

Quick Actions
Details
Creator
facebook
Language
PHP
Category
marketing
Published
6/16/2014

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.

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