Facebook Hashtag
Extract recent posts surfaced by a Facebook hashtag page.
Use the JS token
Facebook scrapers work best with your JavaScript token.
API usage
Add &scraper=facebook-hashtag to a Crawling API request. URL-encode the target URL in the url parameter.
curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
--data-urlencode 'url=https://www.facebook.com/hashtag/robots' \
--data-urlencode 'scraper=facebook-hashtag' -Gfrom crawlbase import CrawlingAPI
api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
'https://www.facebook.com/hashtag/robots',
{'scraper': 'facebook-hashtag'}
)
import json
data = json.loads(res['body'])const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });
const res = await api.get(
'https://www.facebook.com/hashtag/robots',
{ scraper: 'facebook-hashtag' }
);
const data = JSON.parse(res.body);require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')
res = api.get('https://www.facebook.com/hashtag/robots', scraper: 'facebook-hashtag')
data = JSON.parse(res.body)Example input URL
The URL passed in the url parameter (URL-decoded for readability):
https://www.facebook.com/hashtag/robotsResponse shape
JSON response body. Field types may be null when the source page omits the value.
Hashtag (without the #).
Posts appearing on the hashtag page.
Author name.
Post text.
Posted-at.
Attached image URL when present.
Reactions count.
Permalink to the post.
Sample response
{
"hashtag": "robots",
"posts": [
{
"author": "Boston Dynamics",
"body": "New Atlas demo at the lab today…",
"date": "2026-04-22",
"reactions": 8412,
"url": "https://www.facebook.com/BostonDynamics/posts/..."
}
]
}
