๐Ÿ” Facebook Hashtag Search Scraper avatar

๐Ÿ” Facebook Hashtag Search Scraper

Under maintenance

Pricing

from $3.99 / 1,000 results

Go to Apify Store
๐Ÿ” Facebook Hashtag Search Scraper

๐Ÿ” Facebook Hashtag Search Scraper

Under maintenance

Pricing

from $3.99 / 1,000 results

Rating

0.0

(0)

Developer

Scrapio

Scrapio

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Share

Scrape Facebook hashtag search results at scale โ€” posts, reels, reactions, comments, shares, attachments and full Reels metadata. Bulk hashtag input, automatic proxy fallback, and live streaming output. Built for marketers, growth teams, researchers and trend hunters.


๐ŸŒŸ Why Choose Us?

  • โšก Blazing fast โ€” async-first scraper with batched per-video enrichment.
  • ๐Ÿงฑ Production grade โ€” proxy fallback chain (none โ†’ datacenter โ†’ residential) keeps you collecting even when Facebook tightens up.
  • ๐Ÿ“ก Live output โ€” every post lands in your dataset the moment it's scraped; a mid-run failure never costs you the data you already paid for.
  • ๐ŸŽฌ Rich Reels metadata โ€” Video posts are auto-enriched with full FB Shorts metadata (DRM info, muted segments, thumbnails, soundtracks, owners and more).
  • ๐Ÿท๏ธ Bulk hashtags โ€” run dozens of hashtags in a single execution.
  • ๐ŸŽจ Beautiful dataset view โ€” output table renders with labeled columns and emoji headers in the Apify Console.

๐ŸŽฏ Key Features

  • ๐Ÿ”Ž Hashtag and hashtag-URL input (mix and match)
  • ๐Ÿ“ฆ Per-hashtag max-post limit
  • ๐Ÿช Cookie-based authentication
  • ๐ŸŒ Automatic proxy escalation if Facebook starts blocking
  • ๐ŸŽž๏ธ Full Reels / FB Shorts metadata for video attachments
  • โค๏ธ Reactions, comments, shares, views per post
  • ๐Ÿ•’ Post timestamps and authors with avatars
  • ๐Ÿ’พ Live dataset streaming โ€” every post pushed as soon as it's extracted

๐Ÿ“ฅ Input

{
"searchQueries": ["football", "travel"],
"maxItems": 50,
"c_user": "YOUR_C_USER",
"xs": "YOUR_XS_TOKEN",
"proxyConfiguration": { "useApifyProxy": false }
}
FieldTypeDescription
searchQueriesstring[]๐Ÿท๏ธ One or more hashtags (football) or hashtag URLs (https://www.facebook.com/hashtag/football).
maxItemsinteger๐Ÿ“ฆ Max posts to collect per hashtag. Default 50.
c_userstring๐Ÿช Your Facebook c_user cookie (numeric user ID). Required.
xsstring๐Ÿช Your Facebook xs cookie (URL-encoded session token). Required.
proxyConfigurationobject๐ŸŒ Apify proxy config. Default = no proxy. The actor automatically falls back to datacenter โ†’ residential if Facebook starts blocking.

๐Ÿ“ค Output

Each pushed dataset record:

{
"searchQuery": "football",
"postId": "1017535753998725",
"user": {
"name": "เฆ–เง‡เฆฒเฆพเฆฏเง‹เฆ—",
"id": "100072269304011",
"url": "https://www.facebook.com/profile.php?id=100072269304011",
"avatar": "https://scontent.../profile.jpg"
},
"url": "https://www.facebook.com/1017535753998725",
"text": "เฆ†เฆฐ เฆจเฆฏเฆผ เฆ…เฆชเง‡เฆ•เงเฆทเฆพโ€ฆ",
"topReactions": { "Like": 269, "Love": 89, "Care": 14, "Haha": 3 },
"commentsCount": 15,
"sharesCount": 0,
"videoViewCount": 1435,
"time": "2026-05-14 13:30:39",
"timestamp": 1778743839,
"attachments": [
{
"deduplication_key": "",
"target": { "__typename": "Video", "id": "2193122174769647" },
"__typename": "StoryAttachment",
"style_list": ["fb_shorts_creation", "video", "fallback"],
"styles": { /* full Reels metadata */ },
"media": { /* video media blob */ },
"all_subattachments": { "nodes": [] }
}
]
}
FieldDescription
searchQuery๐Ÿท๏ธ The hashtag that produced this post.
postId๐Ÿ†” Facebook post ID.
user๐Ÿ‘ค Post author (name, id, profile url, avatar).
url๐Ÿ”— Canonical post URL.
text๐Ÿ“ Post caption / message.
topReactionsโค๏ธ Reaction counts keyed by reaction name.
commentsCount / sharesCount๐Ÿ’ฌ๐Ÿ” Engagement counts.
videoViewCount๐Ÿ‘๏ธ Total video views (videos / Reels only).
time / timestamp๐Ÿ•’โฐ Post creation time (formatted + unix).
attachments๐Ÿ“Ž Full attachments array, including rich Reels metadata for videos.

๐Ÿš€ How to Use (Apify Console)

  1. ๐Ÿ” Log in at console.apify.com โ†’ Actors.
  2. ๐Ÿ”Ž Find Facebook Hashtag Search Scraper in your actor list and open it.
  3. ๐Ÿช Paste your Facebook cookies (use Cookie-Editor or EditThisCookie to export โ€” at minimum c_user and xs).
  4. ๐Ÿท๏ธ Enter one or more hashtags or hashtag URLs.
  5. ๐ŸŒ Leave proxy on default (no proxy) unless you specifically need one โ€” the actor escalates automatically if needed.
  6. โ–ถ๏ธ Click Start.
  7. ๐Ÿ“Š Watch logs stream live with engagement stats per scraped post.
  8. ๐Ÿ’พ Open the Output tab and export to JSON / CSV / XLSX.

๐Ÿค– Use via API / MCP

Start a run:

curl -X POST "https://api.apify.com/v2/acts/<ACTOR_ID>/runs?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"searchQueries": ["football"],
"maxItems": 50,
"cookies": [
{ "name": "c_user", "value": "..." },
{ "name": "xs", "value": "..." }
]
}'

Run and wait (sync) โ€” get the dataset back immediately:

curl -X POST "https://api.apify.com/v2/acts/<ACTOR_ID>/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"searchQueries":["travel"], "maxItems":20, "cookies":[...]}'

๐Ÿ’ก Best Use Cases

  • ๐Ÿ“ˆ Trend & topic research โ€” capture what people post under any hashtag right now.
  • ๐ŸŽฏ Audience analysis โ€” pull reaction / comment patterns for content benchmarking.
  • ๐Ÿง  Content ideation โ€” see what top-performing posts in your niche look like.
  • ๐Ÿ“ฐ Real-time monitoring โ€” track breaking-topic hashtags and surface viral posts.
  • ๐ŸŽฌ Creator research โ€” pull full Reels metadata for short-form video studies.

๐Ÿ’ฐ Pricing

This actor uses pay-per-event billing. You pay for:

EventDescription
Actor startOne-time platform start charge.
Scraped postOne charge per post written to the output dataset.

Runs stop cleanly when your charge limit is reached โ€” you keep everything scraped up to that point.


โ“ Frequently Asked Questions

Where do I get the cookies? Use a Chrome / Firefox cookie-export extension (Cookie-Editor, EditThisCookie). Open facebook.com while logged in, export cookies for the facebook.com domain, and paste them into the cookies input. Only c_user and xs are strictly required.

Why do I need cookies at all? Facebook's hashtag search results are only returned to authenticated sessions. Without valid cookies the search endpoint returns no usable data.

My run shows "switching to datacenter proxy" / "switching to residential proxy". That's the automatic fallback chain at work โ€” Facebook blocked the direct request and the actor escalated. Output continues normally. You can also start at residential directly via the proxy input.

Can I run multiple hashtags in one run? Yes โ€” provide them all in searchQueries. Each hashtag is processed sequentially, with a clear log section per hashtag and live output to the same dataset.

Will my data survive a crash? Yes. Every post is pushed to the dataset the moment it's scraped. A mid-run failure leaves a partial dataset, never an empty one.


๐Ÿ›Ÿ Support & Feedback

๐Ÿž Found a bug? Have a feature request? Open an issue on the actor's Apify page โ€” we read every report.


  • ๐Ÿ“‚ Only public hashtag-search results are collected.
  • ๐Ÿ”’ Never scrape behind authentication you haven't been authorized to use.
  • ๐ŸŒ You are responsible for complying with Facebook's Terms of Service, GDPR / CCPA, and any local data-protection laws applicable to your use case.