Facebook Likes Scraper avatar

Facebook Likes Scraper

Try for free

Pay $5.00 for 1,000 Likers

Go to Store
Facebook Likes Scraper

Facebook Likes Scraper

apify/facebook-likes-scraper
Try for free

Pay $5.00 for 1,000 Likers

Extract Facebook likes data from one or multiple Facebook posts. Get post URL, reaction type (like, love, care, sad, angry, laugh), and basic liker info such as Facebook name and profile URL. Download the data in JSON, CSV Excel and use it in apps, spreadsheets, and reports.

Do you want to learn more about this Actor?

Get a demo

What is Facebook Likes Scraper?

It's a simple and powerful tool that allows you to extract data about reactions to Facebook posts. To get that data, just insert the post URL and click "Save & Start" button.

What Facebook likes data can I extract?

With this Facebook API, you will be able to extract the following likes data from Facebook:

🔗 Post URL😢 Reaction type (like, love, care, angry, sad, laugh)
🖼 Liker Profile URL💂‍♀️ Basic liker info
👍 Facebook ID ✍️ Post ID

Why scrape Facebook likes?

🤬 Analyze social media and identify hot spots of misinformation or hate speech

🔎 Conduct market research or product analysis

🤺 Monitor competition

🤔 Track brand sentiment and shifts in customer engagement

How do I use Facebook Likes Scraper?

Facebook Likes Scraper was designed to be easy to start with even if you've never extracted data from the web before. Here's how you can scrape Facebook data with this tool:

  1. Create a free Apify account using your email.
  2. Open Facebook Likes Scraper.
  3. Add one or more Facebook post URLs to scrape its likes and other reactions.
  4. Click "Start" and wait for the data to be extracted.
  5. Download your data in JSON, XML, CSV, Excel, or HTML.

Input

The input for Facebook Likes Scraper should be URLs of Facebook posts you want to scrape reactions from. Click on the input tab for a full explanation of input in JSON.

1{
2  "startUrls": [
3    {
4      "url": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl"
5    }
6  ]
7}
8...

Output sample

The results will be wrapped into a dataset which you can find in the Storage tab. Here's an excerpt from the dataset you'd get if you apply the input parameters above:

Facebook Likes scraping

And here is the same data but in JSON. You can choose in which format to download your Facebook data: JSON/JSONL, Excel, HTML table, CSV, or XML.

1[{
2  "facebookUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl",
3  "reaction": "love",
4  "name": "Michelle Smith",
5  "profileUrl": null,
6  "profilePicture": "https://scontent-man2-1.xx.fbcdn.net/v/t1.18169-1/22800_10207336193869748_1821910971530943054_n.jpg?stp=cp0_dst-jpg_p40x40&_nc_cat=105&ccb=1-7&_nc_sid=7206a8&_nc_ohc=_6ChvYNvDBMAX-J2bUl&_nc_oc=AQmF-nSdG94uKGQzDb_IHiQyu97QPNKqfndGF7uG_O950jt8L36m0o6DOhDmQPFtVqvwvqGsqGfcoFVXUvpgRrLx&_nc_ht=scontent-man2-1.xx&oh=00_AfB2hFdjSrD6F7ZsGHJoOSPgaGeMbIGeKW0PgGnO6hhguA&oe=64649844",
7  "facebookId": "6375219342552112",
8  "postId": "6375219342552112"
9},
10{
11  "facebookUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl",
12  "reaction": "like",
13  "name": "Sarah Dampson",
14  "profileUrl": "https://www.facebook.com/people/Sarah-Dampson/pfbid0VQgN3GwLtyQLXMjxKc1TM9ion7B7r9oHAcVbM4EkCZwRNbh12FbpNs6neZhHm7dFl/",
15  "profilePicture": "https://scontent-man2-1.xx.fbcdn.net/v/t39.30808-1/324069204_843562506947134_5065400659853604584_n.jpg?stp=cp0_dst-jpg_p40x40&_nc_cat=111&ccb=1-7&_nc_sid=7206a8&_nc_ohc=etfsyQ9lpW8AX8fIjHb&_nc_ht=scontent-man2-1.xx&oh=00_AfA5iEcJ7IU_yGK-cZyvJWEOSqGUv2Z31Eq4xDBQEC8OhA&oe=644230AF",
16  "facebookId": "6375219342552112",
17  "postId": "6375219342552112"
18},
19{
20  "facebookUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl",
21  "reaction": "like",
22  "name": "Caroline Paavola",
23  "profileUrl": null,
24  "profilePicture": "https://scontent-man2-1.xx.fbcdn.net/v/t39.30808-1/340095828_2223834257819881_2999023177662489964_n.jpg?stp=cp0_dst-jpg_p40x40&_nc_cat=110&ccb=1-7&_nc_sid=7206a8&_nc_ohc=a95c1A4ZAKIAX8Jy8sL&_nc_ht=scontent-man2-1.xx&oh=00_AfBXtH73Wi1cC6pDuprFD_RF-aAK1KKnL4-V1yEOyoNTnA&oe=64427771",
25  "facebookId": "6375219342552112",
26  "postId": "6375219342552112"
27},
28{
29  "facebookUrl": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl",
30  "reaction": "love",
31  "name": "Penny Brill",
32  "profileUrl": null,
33  "profilePicture": "https://scontent-man2-1.xx.fbcdn.net/v/t31.18172-1/209387_1863556022561_7170678_o.jpg?stp=c0.0.40.40a_cp0_dst-jpg_p40x40&_nc_cat=100&ccb=1-7&_nc_sid=7206a8&_nc_ohc=yZ9FmYzoqBsAX_mDZVJ&_nc_ht=scontent-man2-1.xx&oh=00_AfBsMxH5CKqlEslCQLbzT1YPN9RjWbKksqu9pCyv561o-A&oe=64647994",
34  "facebookId": "6375219342552112",
35  "postId": "6375219342552112"
36}]
37...

How many results can you scrape with Facebook Likes scraper?

Facebook Likes scraper can currently return 20 results on average - the preview of likes (reactions) you see per every post. However, you have to keep in mind that scraping facebook.com has many variables to it and may cause the results to fluctuate case by case. There’s no one-size-fits-all-use-cases number. The maximum number of results may vary depending on the complexity of the input, location, and other factors. Some of the most frequent cases are:

  • website gives a different number of results depending on the type/value of the input
  • website has an internal limit that no scraper can cross
  • scraper has a limit that we are working on improving

Therefore, while we regularly run Actor tests to keep the benchmarks in check, the results may also fluctuate without our knowing. The best way to know for sure for your particular use case is to do a test run yourself.

How much will scraping Facebook Likes cost you?

When it comes to scraping, it can be challenging to estimate the resources needed to extract data as use cases may vary significantly. That's why the best course of action is to run a test scrape with a small sample of input data and limited output. You’ll get your price per scrape, which you’ll then multiply by the number of scrapes you intend to do.

Watch this video for a few helpful tips. And don't forget that choosing a higher plan will save you money in the long run.

Want to scrape Facebook Pages or comments?

You can use the dedicated scrapers below if you want to scrape specific Facebook data. Each of them is built particularly for the relevant Facebook scraping case be it group posts, reviews, events, or images. Feel free to browse them:

🏞 Facebook Photos Scraper🌟 Facebook Reviews Scraper
🗓 Facebook Events Scraper📱 Facebook Pages Info Scraper
👥 Facebook Groups Scraper🕵️‍♀️ Facebook Search Scraper
📢 Facebook Ads Scraperℹ️ Facebook Page Posts Checker
🕹 Facebook Games Scraper👀 Facebook Marketplace Scraper
💬 Facebook Comments Scraper📝 Facebook Posts Scraper
#️⃣ Facebook Hashtag Scraper🚩 Facebook Pages Scraper

Not your cup of tea? Build your own scraper

Facebook Likes Scraper doesn’t exactly do what you need? You can always build your own! We have various scraper templates in Python, JavaScript, and TypeScript to get you started. Alternatively, you can write it from scratch using our open-source library Crawlee. You can keep the scraper to yourself or make it public by adding it to Apify Store (and find users for it).

Or let us know if you need a custom scraping solution.

Integrations and Facebook Likes Scraper

Last but not least, Facebook Likes Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with LangChain, Make, Trello, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, Asana, and more.

You can also use webhooks to carry out an action whenever an event occurs, e.g., get a notification whenever Facebook Likes Scraper successfully finishes a run.

Using Facebook Likes Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more. To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the Apify API reference docs for full details or click on the API tab for code examples.

Our Facebook scrapers are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. However, you should be aware that your results could contain personal data. You should not scrape personal data unless you have a legitimate reason to do so.

If you're unsure whether your reason is legitimate, consult your lawyers. You can also read our blog post on the legality of web scraping and ethical scraping.

Your feedback

We’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for Facebook Likes Scraper or simply found a bug, please create an issue on the Actor’s Issues tab in Apify Console.

Developer
Maintained by Apify

Actor Metrics

  • 87 monthly users

  • 13 stars

  • >99% runs succeeded

  • 22 days response time

  • Created in Apr 2023

  • Modified 4 days ago