workflowstacks

The marketplace for AI skills that launch offers, rank in AI search, and automate operations. No coding required.

𝕏⚡💬

Marketplace

  • Browse Skills
  • AI Agents
  • Claude Skills
  • MCP Servers
  • Prompts

Solutions

  • For Founders
  • For Agencies
  • For Ecommerce
  • Agent Builder
  • Starter Packs
  • Playbooks

Learn

  • How It Works
  • What Are Skills
  • What Are Agents
  • What Is MCP
  • For Creators
  • Submit a Tool
  • Security

Company

  • Become a Creator
  • About
  • Enterprise
  • API Docs
  • Terms
  • Privacy
  • Support
Compatible with
🤖ChatGPT
✨Claude
💎Gemini
🛍️Shopify
🔍Ahrefs
📊Sheets
💬WhatsApp
📱Meta Ads
+50 moreCreator program →

© 2026 WorkflowStacks. All rights reserved.

TermsPrivacySupport
marketing

facebook-php-business-sdk: Simplify Meta Ads

Streamline your Meta marketing efforts with this PHP SDK. For founders using PHP.
intermediate⏱ 1-2 hours💵 Free (self-hosted)
913 stars530 forksPHPQuality 8/10Updated 7/13/2026100% free · open source
What it is

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

What you can make with it

Automations like: when a Facebook lead becomes a customer, update your Shopify orders.

How it helps

By allowing seamless integration with Meta Marketing API, this skill streamlines your marketing workflows, saving you time and effort.

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."

If you're new

When starting out with AI-powered marketing automation, beginners can pick this up to understand the basics.

If you're senior

Senior developers would choose this for integrating Meta Marketing capabilities into their larger automation projects.

Common confusion cleared up

Some users may confuse this skill with a standalone marketing tool, but in fact, it's designed to integrate Facebook's Marketing API with existing automation systems.

Best inside these AI tools
Claude DesktopClaude Code
Pairs with
Stripe webhookNotion databaseClaude API
Why we list it on WorkflowStacks: This PHP SDK for the Meta Marketing API is included in our marketplace, giving developers access to an open-source, cost-effective marketing automation solution.
What it does

The Facebook PHP Business SDK allows you to manage and optimize your Meta marketing efforts, such as creating and managing ads, tracking ad performance, and handling billing, all within your PHP applications.

Install / run
composer require facebook/php-business-sdk
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
Quick start
  1. 1Create a new instance of the FacebookBusinessSDK class with your app ID, app secret, and access token, as shown in the example: $sdk = new FacebookBusinessSDK('APP_ID', 'APP_SECRET', 'ACCESS_TOKEN');
  2. 2Use the $sdk object to make API calls, such as creating a new ad campaign: $campaign = $sdk->createCampaign('CAMPAIGN_NAME', 'CAMPAIGN_OBJECTIVE');
  3. 3Handle errors and exceptions using try-catch blocks, as demonstrated in the README: try { $sdk->createAd(...); } catch (FacebookSDKException $e) { ... }
  4. 4Configure the SDK to use a specific Graph API version by setting the 'default_graph_version' property: FacebookBusinessSDK::setDefaultGraphVersion('v13.0');
  5. 5Use the provided examples in the README, such as the 'create-ad-example.php' file, as a starting point for your own implementation
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
What's inside — free to inspect
No purchase needed

Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.

9
top-level files
5
folders
5.1M
repo size
Other
license
Key files
README.md
File tree
.github/
bin/
examples/
src/
test/
.gitignore
CHANGELOG.md
CODE_OF_CONDUCT.md
composer.json
CONTRIBUTING.md
DEVELOPER_GUIDE.md
fb_ca_chain_bundle.crt
LICENSE
README.md
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.

Related skills

More marketing tools founders pair with this one.

marketing★ 23,978
Accurate Attribution with Dub
Get precise link tracking with Dub, for world-class marketing teams, backed by 24k+ GitHub stars
marketing★ 9,667
paseo: Code Anywhere
Code from your phone or desktop with paseo, a tool for founders and developers, with 7.8k+ GitHub stars
marketing★ 4,037
Short Video Factory: Auto Video Clips
Generate product marketing videos with short-video-factory. Ideal for founders, with 4.0k+ GitHub stars.
marketing★ 2,998
Openocta: Automate Workflows
Get an open-source AI agent for office automation, ideal for founders. Openocta has 3.0k+ GitHub stars.
marketing★ 2,471
MultiPost-Extension: One-Click Publishing
Publish to multiple social media platforms at once. Ideal for founders seeking marketing automation.
marketing★ 2,372
aaron-marketing-skills: Boost Marketing
Get 54 marketing skills for startup founders, with 2.3k+ GitHub stars, covering SEO, influencer, and paid ads.