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-python-business-sdk: Simplify Marketing

Meta Marketing API access for Python developers, backed by 1.6k+ GitHub stars, ideal for startup founders.
intermediate⏱ 30 minutes💵 Free + requires Meta Marketing APIs access.
1,564 stars672 forksPythonQuality 9/10Updated 7/13/2026100% free · open source
What it is

Use the Facebook Python Business SDK to fetch marketing data from Meta APIs.

What you can make with it

Automations like sending personalized product ads on Facebook based on customer purchase history on your e-commerce site.

How it helps

This SDK provides a convenient way to access Facebook's marketing data, saving you time and effort typically spent on API integrations.

Real use case example

"A solo developer, Alex, wants to boost sales by targeting customers with relevant Facebook ads. Alex sets up this SDK, connects to their e-commerce database, and fetches customer purchase history in just a few minutes. They then use the data to create tailored ads on Facebook, increasing engagement and driving more sales."

If you're new

Beginners can pick this up when they need to access Facebook's marketing data for a project.

If you're senior

Senior engineers and professionals reach for this SDK when integrating Meta APIs with existing e-commerce or marketing workflows.

Common confusion cleared up

This SDK doesn't handle data analytics or visualization – you'll still need to integrate those tools separately.

Best inside these AI tools
Claude DesktopCursorCodex CLI
Pairs with
Amazon Web Services SDKStripe webhookNotion database
Why we list it on WorkflowStacks: This SDK is part of a collection of open-source tools to help you integrate marketing APIs without extra costs.
What it does

The Facebook Python Business SDK provides a Python interface to Meta's Marketing APIs, allowing developers to manage Facebook ads, ad accounts, and more programmatically.

Install / run
pip install facebook-sdk
When to use it
  • •When you need to automate Facebook ad management for your startup
  • •When you want to integrate Facebook marketing data into your custom analytics dashboard
  • •When you need to build a custom Facebook ads reporting tool for your team
Quick start
  1. 1Create a Facebook Developer account and register an app to obtain an App ID and App Secret
  2. 2Install the facebook-python-business-sdk using pip: `pip install facebook-sdk`
  3. 3Import the SDK in your Python script: `from facebook import GraphAPI`
  4. 4Use the GraphAPI class to authenticate and make API calls: `graph = GraphAPI(access_token='YOUR_ACCESS_TOKEN')`
  5. 5Use the graph object to make API calls, such as retrieving ad account info: `graph.get_object(id='act_<AD_ACCOUNT_ID>')`
Ready-to-paste prompt
Get ad account info: `graph.get_object(id='act_<AD_ACCOUNT_ID>')`
Heads up: You need to obtain a Facebook App ID, App Secret, and access token to use the SDK, and ensure your Facebook account has the necessary permissions to access the Marketing API
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.

13
top-level files
3
folders
14.3M
repo size
Other
license
Key files
.pyre_configuration
config.json.example
README.md
requirements-tests.txt
requirements.txt
File tree
.github/
examples/
facebook_business/
.gitignore
.pyre_configuration
CHANGELOG.md
CODE_OF_CONDUCT.md
config.json.example
CONTRIBUTING.md
LICENSE
MANIFEST.in
README.md
requirements-tests.txt
requirements.txt
setup.py
tox.ini
Quick Actions
Details
Creator
facebook
Language
Python
Category
marketing
Published
8/29/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.