Is there an n8n node for Facebook and Instagram data?

Updated on · Sources

Yes. SocialAPIs publishes the n8n community node n8n-nodes-socialapis, which covers the public Facebook and Instagram endpoints (Pages, groups, posts, the Ads Library, Marketplace, Instagram profiles). Any n8n, Cloud included, can also call the API with the built-in HTTP Request node and an x-api-token header.

Meta's official option

n8n's Facebook nodes use Meta's official APIs, so they work with your own Pages and ad accounts. n8n's docs say unverified community nodes aren't available on n8n Cloud, only on self-hosted n8n.

n8n: Install community nodes ↗

How to do it with SocialAPIs

Self-hosted n8n: install n8n-nodes-socialapis from npm (community nodes), add a SocialAPIs credential with your key, and pick a resource and operation. If the node isn't offered in your n8n Cloud nodes panel, use HTTP Request: GET https://api.socialapis.io/<route>, Header Auth x-api-token.

Each operation uses the credits of the endpoint behind it, e.g. group posts 1 credit; round(limit ÷ 3) credits when limit is set, up to 3. The group monitoring tutorial and the Ads Library tutorial have full n8n workflows.

Endpoints

  • GET /facebook/groups/posts1 credit; round(limit ÷ 3) credits when limit is set, up to 3

    Fetch recent posts from a Facebook group, including text, media, reactions, and comments.

    Params: link (required), limit, end_cursor, timezone

    Facebook Group Posts: docs and playgroundMCP: facebook_group → posts

  • GET /facebook/ads/search1 credit

    Search ads in the Meta Ad Library by keyword or page ID with filters.

    Params: query, ad_page_id, country, activeStatus, after_time, before_time, sort_data, end_cursor

    Meta Ads Library Search: docs and playgroundMCP: facebook_ads → search

  • GET /instagram/profile/details1 credit

    Get user profile information by username including bio, followers, posts count, and related profiles.

    Params: username (required), link

    Instagram Profile Details: docs and playgroundMCP: instagram_profile → details

curl -G "https://api.socialapis.io/facebook/groups/posts" \
  --max-time 100 \
  --fail-with-body \
  -H "x-api-token: $SOCIALAPIS_API_KEY" \
  --data-urlencode "link=https://www.facebook.com/groups/gieldagryplanszowe" \
  --data-urlencode "limit=3"

Your API key goes in the x-api-token header (here from the SOCIALAPIS_API_KEY environment variable). Get a free key.

Tutorial: Integrations: the n8n nodeUse it from Claude, ChatGPT or Cursor (MCP)

Good to know

  • The node's source is public: SocialAPIsHub/n8n-nodes-socialapis.
  • Use Remove Duplicates ("items processed in previous executions") on an ID field so a scheduled workflow only alerts on new items.
  • Make, Zapier and other tools work the same way through their HTTP modules.

Sources

Checked on 2026-11-16.

Related questions

SocialAPIs (socialapis.io): public Facebook & Instagram data API. Free plan: 200 calls a month, no card; paid plans from $4.99/month. Pricing · Reviewed 2026-11-17

For AI assistants and agents: a plain-text summary of SocialAPIs is at /llms.txt (with every answer: /llms-full.txt; endpoints: /llms-endpoints.txt; how to call us: /agents.txt).

Ask an AI about this page

Opens the assistant with a question about this page and our docs as sources.