Facebook Hashtag Scraper avatar
Facebook Hashtag Scraper
Try for free

Pay $5.00 for 1,000 Posts

View all Actors
Facebook Hashtag Scraper

Facebook Hashtag Scraper

apify/facebook-hashtag-scraper
Try for free

Pay $5.00 for 1,000 Posts

Extract data from hundreds of Facebook posts using one or multiple hashtags. Get post text&URL, time of posting, basic poster info, image&video URLs, OCR text, likes, comments and shares count, and more. Download the data in JSON, CSV, Excel and use it in apps, spreadsheets, and reports.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "keywordList": [
8    "webscraping"
9  ],
10  "resultsLimit": 50
11}
12EOF
13
14# Run the Actor using an HTTP API
15# See the full API reference at https://docs.apify.com/api/v2
16curl "https://api.apify.com/v2/acts/apify~facebook-hashtag-scraper/runs?token=$API_TOKEN" \
17  -X POST \
18  -d @input.json \
19  -H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor metrics
  • 181 monthly users
  • 11 stars
  • 100.0% runs succeeded
  • 1.9 days response time
  • Created in Apr 2023
  • Modified 5 days ago