performance-marketing

facebook-business-sdk-codegen for SDKs

Get Facebook Business SDK code generation for PHP.
intermediateโฑ 30 minutes๐Ÿ’ต Free
107 stars66 forksPHPGuide quality 8/10Updated 9/4/2026100% free ยท open source
What it is

Use this tool to generate code for Facebook's business SDKs, allowing you to integrate Facebook's APIs into your website or app.

Real use case example

"A founder of a mid-sized e-commerce business can use this tool to generate code to automatically add their customers to specific Facebook audiences, then create targeted ads to increase sales. To do this, they would first create a new project in this tool, then select the Facebook Business SDK and specify the code output format. Next, they would use the generated code in their website's backend to connect to their Facebook Ads account and create custom audiences. Finally, they would use Facebook Ads Manager to create and launch ad campaigns to their newly created audience."

When to use it
  • โ€ขWhen building a PHP application that needs to interact with Facebook's business APIs
  • โ€ขWhen creating a plugin or module that requires Facebook Business SDK functionality
  • โ€ขWhen migrating an existing application to use the latest Facebook Business SDK version
Ready-to-paste prompt
php scripts/generate.php --config codegen.json --output /path/to/generated/sdk
Heads up: Requires a compatible PHP version (7.2 or later) and the `composer` package manager to be installed and configured
Saves to your device
Use with Claude
New

Skip the builder โ€” one click puts this in Claude, Cursor, Antigravity and more.

โœ… Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly โ€” no install
Claude Code
mkdir -p ~/.claude/skills/facebook-business-sdk-codegen && curl -fsSL https://workflowstacks.com/api/skills/facebook-business-sdk-codegen/claude-skill -o ~/.claude/skills/facebook-business-sdk-codegen/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
performance-marketing
Published
1/26/2019

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