Spiral gives your agent every tool with one account. Browse the tools →

Blog

How to Scrape Facebook With Claude

Spiral Team
Cover image for How to Scrape Facebook With Claude

Want Facebook data inside Claude?

But on its own, Claude can't pull a month of reels with view counts.

Here's how to fix that in 5 minutes with Spiral.

Let's dive right in.

Yes, Claude can scrape Facebook, though not natively by itself: its web search and fetch read single pages, not structured feeds. Connect it to Spiral, and Claude pulls public pages, posts, reels, comments and Ad Library ads into tables it can sort, compare and export.

Can Claude Scrape Facebook?

Claude isn't offline: it searches the web and reads any page you link.

But a month of a brand's reels, with views, dates and lengths, isn't one page you can hand it.

Facebook's own terms also bar collecting data from its products by automated means without Meta's permission.

So your Claude needs a tool that hands it public Facebook data as clean rows, and that's the gap Spiral fills.

TL;DR

  • Claude can't pull a month of Facebook reels on its own, but Spiral's Facebook scrapers can.
  • We pulled 33 reels and posts from Duolingo and Rosetta Stone, then deduplicated them to 30.
  • Both pages have about 2.4 million followers, yet we found a 59x gap in median views: 94,000 vs 1,600.
  • 18 of Duolingo's 20 reels ran under 30 seconds; 9 of Rosetta Stone's 10 ran longer.
  • Comments and Ad Library ads explained the numbers, including a paid Pokémon push.
  • Stick to public pages, read Meta's terms and respect privacy law.

Why Use Spiral Instead of the Other Ways?

You can get Facebook data into Claude four ways today, and only one scales past a handful of posts.

Copy-paste into Claude: it works for a post or two, then you're copying view counts by hand for every reel.

A home-made scraper connected to Claude: you build and host the code yourself, then you fix it every time Facebook changes its pages.

Claude's browser extension (Claude in Chrome): it reads what's on your screen inside your own logged-in account. That's not a reliable way to collect a month of data, and acting inside your own account is risky.

Spiral's Facebook scrapers: Claude calls them from your chat and gets clean rows back. That's how we pulled 30 reels, 10 comments and Duolingo's live ads in one sitting.

What you need

  • A Claude account: custom connectors work on every plan, and Free allows one.
  • A Spiral account with a prepaid balance. Spiral bills per use (see pricing).
  • The public Facebook page links you want to compare.
  • Google Sheets or any spreadsheet app for the final CSV.

How to Scrape Facebook With Claude: step by step

Step 1: Connect Spiral to Claude

In Claude Desktop or on claude.ai, go to Customize → Connectors, or click this direct link:

Add Spiral to Claude

Add a custom connector, name it Spiral and paste https://api.spiral.ai/mcp (the direct link fills both in).

Click Add → Connect and sign in with your Spiral account. Spiral's Claude quickstart walks through each screen.

Claude's Add custom connector window with Spiral and its URL filled in

Claude's Add custom connector window with Spiral and its URL filled in. Source: Spiral's Claude guide.

Step 2: Check the Page Before You Scrape It

We start by confirming your link opens the right page.

Why does that matter when you already have the link?

Because Facebook links can fool you: our first guess at one rival's link opened a private person's profile. Another rival's page came back private.

That's why we check the name and category first, and only then pull posts.

Here's what we got back for Duolingo:

Ask Claude:

Use Spiral to look up the public Facebook page facebook.com/duolingo. Show its category, followers, how many people are talking about it and whether it's running ads.

Claude answering "Use Spiral to look up the public Facebook page facebook.com/duolingo. Show its c" with Spiral

Recreated from a real run in this guide, with Spiral connected to Claude.

Step 3: Size Up a Rival Page the Same Way

Next, we ran the same check on a rival so our comparison is fair.

Sure enough, Rosetta Stone has almost the same following: 2,428,700 versus Duolingo's 2,445,225.

But our run showed only 2,050 people talking about it, against 187,481 for Duolingo.

So why would two pages with the same following get such different buzz?

Ask Claude:

Now do the same check for facebook.com/RosettaStone so I can compare the two pages.

Claude answering "Now do the same check for facebook.com/RosettaStone so I can compare the two pag" with Spiral

Recreated from a real run in this guide, with Spiral connected to Claude.

Step 4: Pull a Brand's Latest Reels

The reels answer that, so next we pulled the reels each page posted.

When we ran Spiral's Facebook reels scraper, it returned 10 reels per request, each with views, length, date and caption.

Our first pull of Duolingo's latest 10 covered Nov 23 to Dec 2 and drew 3,740,600 views combined.

Every top caption we got back reads like a joke, not a lesson. See for yourself:

Ask Claude:

Use Spiral to pull the latest reels from facebook.com/duolingo. Give me the date, caption and views of each.

Claude answering "Use Spiral to pull the latest reels from facebook.com/duolingo. Give me the date" with Spiral

Recreated from a real run in this guide, with Spiral connected to Claude.

Step 5: Go Back a Full Month With the Next Page

Ten reels only covered about ten days of Duolingo's posting in our run.

That isn't enough for you to spot a pattern, so we asked Claude to page back once more.

Sure enough, the next 10 reached back to Nov 4 and held the month's biggest hit: 3,200,000 views.

In other words, our Duolingo list now holds 20 reels with 8,469,600 views and a median of 94,000.

Ask Claude:

Get the next page of Duolingo reels so we cover the whole last month.

Claude answering "Get the next page of Duolingo reels so we cover the whole last month." with Spiral

Recreated from a real run in this guide, with Spiral connected to Claude.

Step 6: Run the Same Pull on the Rival

Now we ran the comparison that matters most to you.

When we pulled Rosetta Stone's latest 10 reels, they drew 16,268 views combined, and the best one reached 3,100.

Think about it this way: Duolingo's top reel out-viewed all 10 of them by almost 200 times.

Also look at our length column, where 9 of Rosetta Stone's 10 reels ran past 30 seconds:

Ask Claude:

Pull the latest reels from facebook.com/RosettaStone with the same columns, plus each reel's length.

Claude answering "Pull the latest reels from facebook.com/RosettaStone with the same columns, plus" with Spiral

Recreated from a real run in this guide, with Spiral connected to Claude.

Step 7: Pull the Posts Feed for Reactions and Shares

Why pull the posts feed when you already have the reels?

Because views show reach, but reactions and shares show how people felt.

Our posts run on Duolingo's page gave us both, 3 posts per call.

For example, the procrastinate reel got 22,029 reactions, and 7,291 of them were laughs.

All 3 were reels we already had. So Claude dropped them: 30 reels plus 3 posts made 33 rows, and 30 stayed unique.

Ask Claude:

Pull Duolingo's latest Facebook posts with views, reactions and shares, and flag any that are already in our reels list.

Claude answering "Pull Duolingo's latest Facebook posts with views, reactions and shares, and flag" with Spiral

Recreated from a real run in this guide, with Spiral connected to Claude.

Step 8: Read the Comments on the Most-Reacted Post

Numbers show you what worked, and comments show you why.

We pulled the 10 most relevant of the 192 comments on the procrastinate reel, our most-reacted post, without names.

In our pull, two of the 10 named the cartoon the reel echoes. The top comment alone drew 450 reactions.

One even joked about the app going down right after the post, which no view count would tell us.

Here's what we pulled:

Ask Claude:

Get the top comments on facebook.com/reel/1135556445776267. Leave out commenter names; I only need the text, reactions and replies.

Claude answering "Get the top comments on facebook.com/reel/1135556445776267. Leave out commenter " with Spiral

Recreated from a real run in this guide, with Spiral connected to Claude.

Step 9: Check What the Brand Pays to Promote

Organic reels are half of your story, and ads are the other half.

We asked Claude to run Spiral's Ad Library scraper, which lists a company's running ads with headlines, start dates and ad text.

Sure enough, every Duolingo ad we read pushed app installs, and one launched Nov 17 for a Pokémon collab.

Six days later, Duolingo posted a Pokédance reel, so its paid and organic posts ran on the same theme.

Here are the ads we read:

Ask Claude:

Use Spiral to list Duolingo's active US ads from the Meta Ad Library. Show the headline, start date and what each ad says.

Claude answering "Use Spiral to list Duolingo's active US ads from the Meta Ad Library. Show the h" with Spiral

Recreated from a real run in this guide, with Spiral connected to Claude.

Step 10: Land Everything in One Sheet

Finally, we turned our pulls into one list you can sort and share.

We asked Claude to merge both brands' reels, drop duplicates, rank them by views and convert length to seconds.

Then download your CSV, open it in Google Sheets, and you get the 30-row table below:

Ask Claude:

Merge every reel we pulled into one table, remove duplicates, rank by views, add length in seconds and give me a CSV.

Duolingo vs. Rosetta Stone: 30 Facebook Reels, Ranked by Views in Google Sheets: Reel link, Brand, Posted, Caption, Views, Length (sec), Under 30 sec

Recreated from a real run in this guide.

Step 11: Ask Claude What the Data Shows

Length: 18 of Duolingo's 20 reels ran under 30 seconds, against 1 of Rosetta Stone's 10. The play: cut your next reel under 30 seconds, then compare it with your median.

Caption tone: Duolingo's captions read like jokes, and 7,291 of its most-reacted post's 22,029 reactions were laughs. The play: lead with the joke and save the lesson for the punchline.

Paid and organic: Duolingo's Pokémon ad started Nov 17, and its Pokédance reel followed six days later. The play: give one reel a month the same theme as your ads.

Buzz: we also checked Memrise, Pimsleur and Preply, and talking-about ran from 187,481 for Duolingo to 165 for Memrise. None of those three posted a reel in the last month, so Duolingo's lead isn't a fluke of one weak rival.

Ask Claude:

Using this sheet, tell me what Duolingo does differently from Rosetta Stone on reel length, caption tone, ads and buzz. Back each point with a number and give me one play to copy.

Instructions to reuse in a Claude Project

Paste this into your Claude Project's instructions, so every chat follows the same rules:

You help me track brands on Facebook with Spiral's Facebook tools.

Only scrape public Facebook pages, never private profiles or private groups.

For each page I name, check it first: name, category, followers, talking-about count and ad status.

Pull the last month of reels, paging back until the dates cover 30 days.

Pull the posts feed for reactions and shares, and drop any post already in the reels list.

For the most-reacted post, pull the most relevant comments without commenter names.

List the brand's active US ads from the Ad Library with headline, start date and text.

Finish with one table ranked by views, with length in seconds, and a CSV I can open in Google Sheets.

End with three findings and three next moves, each backed by a number from the data.

The instructions in a Claude Project

The instructions block from this guide, in a Claude Project.

Results from our runs

63 rows pulled from 5 public pages, 60 unique after deduplication, in 17 Facebook calls that ran in about 2 minutes combined.

A 59x gap in median views: 94,000 per Duolingo reel against 1,600 for Rosetta Stone, on followings of 2,445,225 and 2,428,700.

Reel length: 18 of Duolingo's 20 reels ran under 30 seconds, against 1 of Rosetta Stone's 10.

Most-reacted post: 450,174 views, 22,029 reactions (7,291 laughs) and 748 shares, on a joke caption.

Wider batch: the latest 30 reels from Memrise, Pimsleur and Preply held none from the last month, and talking-about ran from 187,481 (Duolingo) to 165 (Memrise).

This is why: short, joke-led reels backed by paid themes, against long, fact-led reels.

Views by posted

Recreated from a real run in this guide.

Tips for better results

  • Test shorter reels: 18 of Duolingo's 20 reels ran under 30 seconds in our pull. Try “Flag every reel of mine over 30 seconds and compare its views with my rival's”.
  • Write captions like a friend, not a textbook: in our pull, Duolingo's top captions read like jokes, while Rosetta Stone's opened with facts and hashtags. Try “Rewrite my last five captions in the tone of the top three reels in this sheet”.
  • Match paid and organic themes: we saw Duolingo's Pokémon ad start Nov 17 and its Pokédance reel follow six days later. Try “List my rival's active ads and match each theme to a reel from the same month”.
  • Mine top comments for hooks: the top comment on the procrastinate reel drew 450 reactions on its own in our run. Try “Pull the top comments on my rival's best reel and turn the funniest ideas into three reel hooks”.
  • Track talking-about, not just followers: both pages sit near 2.4 million followers, but our check counted 187,481 people talking about Duolingo versus 2,050 for Rosetta Stone. Try “Check these five pages and rank them by talking-about count”.

Common mistakes

Our guess at one rival's link opened a private person's profile, so always check your page's name and category before you pull anything.

Stopping at the first page of results

Ten reels covered only about ten days of Duolingo's posting in our run, so ask Claude to page back until your dates cover a full month.

Counting the same post twice

All 3 posts in Duolingo's feed were reels we already had, so tell Claude to deduplicate by post ID before it ranks anything.

Trusting rounded view counts

For example, our reels list showed 450,000 views while the posts feed showed 450,174, so use the posts feed when you need exact numbers.

Pulling commenter names you don't need

Comment text and reactions tell the story, so ask Claude to leave names out, which keeps your sheet clean and your risk low.

Advanced: Put It on Autopilot With a Scheduled Task

Once your Project works, make it run without you.

Claude's scheduled tasks rerun a saved prompt on a cadence, and they're built for competitor checks like this one.

Set your Project prompt to run weekly, and each Monday you get a fresh ranked sheet from the same Spiral connector we used here.

Worried about spend? Spiral lets you give each agent its own API key with a spend cap, so a run that would pass it never starts.

Limits and good practice

Facebook's terms come first

Meta's terms forbid collecting data from its products by automated means without prior permission, so read them before you use the data for business.

Public data only

The tools return only what a page shows publicly, and when one rival's page came back private, we got nothing from it. Groups and events were out of scope: we pulled pages, posts, reels, comments and ads only.

Small pages per call

Posts came 3 at a time and reels 10 at a time in our runs, so a full month of an active page takes you several calls.

What the runs couldn't see

In other words, the Ad Library gave us no spend or reach for Duolingo's ads. Our reel view counts also came rounded, so use the posts feed for exact numbers.

Cost

Spiral bills per use from one prepaid balance with no subscription, and you can check each tool's price on Spiral's pricing page.

Using people data lawfully

Scrape public business pages only, never private profiles, private groups or anything behind a login.

Read Meta's terms first: they ban automated collection without its permission, so get legal advice before commercial use.

Comments carry personal data under GDPR and similar privacy laws, so have a legitimate purpose and keep only what you need.

Never use scraped names or comments to message people or build spam lists.

Honor opt-outs and deletion requests, and delete data once your analysis is done.

FAQ

Can Claude scrape Facebook without any add-ons?

Not at scale. Claude can search the web and read a page you link, but it can't return a month of reels as clean rows until you connect Spiral's Facebook scrapers.

It depends on what you collect and how you use it. Meta's terms forbid automated collection without its permission, and GDPR covers personal data, so stick to public business pages and get legal advice for commercial use.

Can I scrape private profiles or private groups?

No, Spiral's Facebook tools return public data only, and when we asked for one rival's page, the tool answered that the profile is private and returned nothing.

Do I need a paid Claude plan?

Not for the connector, since custom connectors work on every Claude plan and Free allows one, but scheduled tasks that rerun your check need a paid plan.

Can Claude pull Facebook Ad Library data?

Yes, with Spiral connected, Claude can list a company's active ads with headlines, start dates and ad text. Our run on Duolingo returned live US ads, though not their spend.

How much does it cost?

Spiral bills per use from one prepaid balance, with no subscription or minimum, and each tool lists its own price on Spiral's pricing page.

Can I export the data to Google Sheets?

Yes, ask Claude to turn your table into a CSV, then import that file into Google Sheets.

The bottom line

Claude already knows how to analyze a Facebook page for you; it just needed the data.

So connect Spiral, paste your Project instructions and run your first brand-versus-rival check today.

Sources

  1. https://support.claude.com/en/articles/10684626-enabling-and-using-web-search
  2. https://support.claude.com/en/articles/12012173-getting-started-with-claude-in-chrome
  3. https://support.claude.com/en/articles/11175166-getting-started-with-custom-connectors-using-remote-mcp
  4. https://support.claude.com/en/articles/13854387-schedule-recurring-tasks-in-claude-cowork
  5. https://spiral.ai
  6. https://spiral.ai/pricing
  7. https://spiral.ai/docs/quickstarts/claude-desktop.md
  8. https://www.facebook.com/terms.php
  9. https://www.facebook.com/legal/automated_data_collection_terms