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

Get easy access to Meta Marketing APIs with this Node.js SDK, ideal for startup founders.
intermediate⏱ 30 minutes💵 Free (self-hosted)
605 stars247 forksJavaScriptQuality 9/10Updated 7/13/2026100% free · open source
What it is

Allows you to create scripts that send and retrieve data from Facebook APIs in a Node.js project.

What you can make with it

Automations that integrate your Node.js project with Facebook marketing campaigns and data, such as pulling customer lists from Facebook Ads.

How it helps

It helps marketers and developers automate interactions with Facebook's marketing APIs, saving time and effort. This SDK is especially useful when working on custom Facebook integrations.

Real use case example

"A founder wants to send Facebook lead ads directly to their HubSpot CRM. They use this SDK to set it up in 30 minutes by following these steps: first, they import the Facebook SDK and connect it to their app; next, they define their workflow and API calls to send leads from Facebook to HubSpot; finally, they deploy the code and test the connection. As a result, the founder can now automate the lead data flow from Facebook Ads to their CRM."

If you're new

Beginners should pick this up when starting a Node.js project that requires integrating with Facebook marketing APIs.

If you're senior

Senior engineers will reach for this when they need advanced customization and control over their Facebook marketing API integrations.

Common confusion cleared up

This SDK is specifically designed for Node.js projects, so avoid using it with Python or other languages unless converted through an adapter.

Best inside these AI tools
GeminiCodex CLIAny AI Client
Pairs with
Claude APIStripe webhookNotion database
Why we list it on WorkflowStacks: This SDK is included because it provides a free and open-source way to interact with Facebook's marketing APIs in Node.js projects.
What it does

The Facebook Node.js Business SDK allows startup founders to easily access and manage their Meta Marketing APIs, including Ads, Pages, and more, directly from their Node.js applications.

Install / run
npm install facebook-nodejs-business-sdk
When to use it
  • •When automating Facebook ad campaigns and needing to integrate with other Node.js services
  • •When building a custom application that requires access to Facebook Page data and insights
  • •When needing to streamline and optimize Facebook marketing workflows using Node.js scripts
Quick start
  1. 1Create a new Facebook App and obtain an App ID and App Secret from the Facebook Developer Dashboard
  2. 2Set up a new instance of the SDK using the command `const {FacebookAdsApi} = require('facebook-nodejs-business-sdk');`
  3. 3Initialize the API with your App ID, App Secret, and Access Token using `const api = new FacebookAdsApi(<APP_ID>, <APP_SECRET>, <ACCESS_TOKEN>);`
  4. 4Use the `api` object to fetch data or perform actions, such as fetching ad accounts with `api.getAdAccounts()`
  5. 5Handle errors and responses using the SDK's built-in error handling and logging mechanisms
Ready-to-paste prompt
const {FacebookAdsApi} = require('facebook-nodejs-business-sdk'); const api = new FacebookAdsApi('YOUR_APP_ID', 'YOUR_APP_SECRET', 'YOUR_ACCESS_TOKEN'); api.getAdAccounts().then(accounts => console.log(accounts));
Heads up: Make sure to handle the Facebook API's rate limiting and access token expiration, as the SDK does not automatically refresh tokens or handle rate limiting errors, requiring additional error handling and token management code
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.

11
top-level files
5
folders
2.9M
repo size
Other
license
Key files
.flowconfig
package.json
README.md
File tree
__tests__/
.github/
.vscode/
examples/
src/
.flowconfig
.gitignore
.npmignore
bower.json
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
gulpfile.js
LICENSE
package.json
README.md
Quick Actions
Details
Creator
facebook
Language
JavaScript
Category
marketing
Published
8/29/2017

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.