๐ Facebook Hashtag Search Scraper
Under maintenancePricing
from $4.99 / 1,000 results
๐ Facebook Hashtag Search Scraper
Under maintenancePricing
from $4.99 / 1,000 results
Rating
0.0
(0)
Developer
Scraper Engine
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
6 days ago
Last modified
Categories
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 }}
| Field | Type | Description |
|---|---|---|
searchQueries | string[] | ๐ท๏ธ One or more hashtags (football) or hashtag URLs (https://www.facebook.com/hashtag/football). |
maxItems | integer | ๐ฆ Max posts to collect per hashtag. Default 50. |
c_user | string | ๐ช Your Facebook c_user cookie (numeric user ID). Required. |
xs | string | ๐ช Your Facebook xs cookie (URL-encoded session token). Required. |
proxyConfiguration | object | ๐ 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": [] }}]}
| Field | Description |
|---|---|
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)
- ๐ Log in at console.apify.com โ Actors.
- ๐ Find Facebook Hashtag Search Scraper in your actor list and open it.
- ๐ช Paste your Facebook cookies (use Cookie-Editor or EditThisCookie to export โ at minimum
c_userandxs). - ๐ท๏ธ Enter one or more hashtags or hashtag URLs.
- ๐ Leave proxy on default (no proxy) unless you specifically need one โ the actor escalates automatically if needed.
- โถ๏ธ Click Start.
- ๐ Watch logs stream live with engagement stats per scraped post.
- ๐พ 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:
| Event | Description |
|---|---|
| Actor start | One-time platform start charge. |
| Scraped post | One 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.
โ๏ธ Legal & Compliance
- ๐ 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.