n8n Facebook posts scraper

n8n Facebook Posts Scraper pulls post-level data from any public page (text, images, videos, reaction types, comments, shares, timestamps, and video transcripts).

Trusted by industry leaders all over the world

What data you can get with n8n Facebook posts scraper

Each post includes full text, media URLs, reaction breakdowns (like, love, haha, wow, sad, angry), comment and share counts, timestamps, and video transcripts.

Output

[
{
"url": "https://www.facebook.com/cern/posts/pfbid02tCuZQNXY4oegKgnTGU2pbxtZdrg9uZwuaSWdyZeaYuhb8hw8ZBZ51Go19Em86Uwvl",
"link": "https://cerncourier.com/a/what-can-you-do-with-380-million-higgs-bosons/",
"text": "What can you do with 380 million #Higgs bosons?\n\nWhat is the fate of the universe? Why is there more matter than #antimatter? What lurks beyond the #Standard Model? Valentina Cairo and Steven Lowette explore the physics reach of the High-Luminosity LHC (#HiLumiLHC) in the new issue of the #CERNCourier.\n\nRead more: https://cerncourier.com/a/what-can-you-do-with-380-million-higgs-bosons/",
"time": "2026-01-20T13:00:05.000Z",
"user": {
"_fromStrapi": true,
"id": "100064792144187",
"name": "CERN",
"profilePic": "https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-1/348216459_1300189730851164_4698791499509539689_n.jpg?stp=cp0_dst-jpg_s50x50_tt6&_nc_cat=110&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=Pj2Wg3o7ldwQ7kNvwGGPU3k&_nc_oc=AdnmAKKQ_2TQdVmfEq42BxQekAnn4xQbK__K1Ubul6MOYLHsqDraXyiOODvzedxgHR5vwR5V7ZcyS9aWAVxLWl3C&_nc_zt=24&_nc_ht=scontent-lga3-3.xx&_nc_gid=ypkFPlrkf_vAdug9n8GJ3A&oh=00_AfpFBtut5Iv6v0iQRPvSkPr_288dbS69vh9VJMeXUZ10Dw&oe=69755C03",
"profileUrl": "https://www.facebook.com/100064792144187"
},
"likes": 146,
"media": [
{
"_fromStrapi": true,
"id": "1315686073934452",
"url": "https://www.facebook.com/photo/?fbid=1315686073934452&set=a.636209511882115",
"ocrText": "May be an image of fireworks",
"feedback": {
"_fromStrapi": true,
"id": "ZmVlZGJhY2s6MTMxNTY4NjE1MDYwMTExMQ==",
"can_viewer_comment": false
},
"__isMedia": "Photo",
"thumbnail": "https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-6/618970043_1315670090602717_8133399184917159433_n.jpg?stp=dst-jpg_s960x960_tt6&_nc_cat=1&ccb=1-7&_nc_sid=127cfc&_nc_ohc=T4WYOy4-rBwQ7kNvwE5nP9G&_nc_oc=AdkzQR48rCWiJpmKjbl9l8nfUvSEv23tImr9JzO_-y5mdq8R8Usmv0RmaO53tSClXcnmgFiygMHOEc6cjpHJ3cWO&_nc_zt=23&_nc_ht=scontent-lga3-3.xx&_nc_gid=ypkFPlrkf_vAdug9n8GJ3A&oh=00_Afq4rjFhoZmNdMyZZ9I3pmnEgtQl5mO5W8C21Yj2sQFrVQ&oe=69756C90",
"__typename": "Photo",
"photo_image": {
"uri": "https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-6/618970043_1315670090602717_8133399184917159433_n.jpg?stp=dst-jpg_s960x960_tt6&_nc_cat=1&ccb=1-7&_nc_sid=127cfc&_nc_ohc=T4WYOy4-rBwQ7kNvwE5nP9G&_nc_oc=AdkzQR48rCWiJpmKjbl9l8nfUvSEv23tImr9JzO_-y5mdq8R8Usmv0RmaO53tSClXcnmgFiygMHOEc6cjpHJ3cWO&_nc_zt=23&_nc_ht=scontent-lga3-3.xx&_nc_gid=ypkFPlrkf_vAdug9n8GJ3A&oh=00_Afq4rjFhoZmNdMyZZ9I3pmnEgtQl5mO5W8C21Yj2sQFrVQ&oe=69756C90",
"width": 960,
"height": 540
},
"accent_color": "FF1A0534",
"photo_product_tags": []
}
],
"postId": "1315686150601111",
"shares": 27,
"comments": 3,
"inputUrl": "https://www.facebook.com/cern",
"pageName": "cern",
"timestamp": 1768914005,
"facebookId": "100064792144187",
"feedbackId": "ZmVlZGJhY2s6MTMxNTY4NjE1MDYwMTExMQ==",
"facebookUrl": "https://www.facebook.com/cern",
"topLevelUrl": "https://www.facebook.com/100064792144187/posts/1315686150601111",
"collaborators": [],
"pageAdLibrary": {
"_fromStrapi": true,
"id": "169005736520113",
"is_business_page_active": false
},
"textReferences": [
{
"_fromStrapi": true,
"id": "NjQyMTgzOTU5MjA4MTA3Omh0dHBzXGEvL2Nlcm5jb3VyaWVyLmNvbS9hL3doYXQtY2FuLXlvdS1kby13aXRoLTM4MC1taWxsaW9uLWhpZ2dzLWJvc29ucy86OkRlZmF1bHQ6OjoxMzE1Njg2MTUwNjAxMTEx",
"url": "https://l.facebook.com/l.php?u=https%3A%2F%2Fcerncourier.com%2Fa%2Fwhat-can-you-do-with-380-million-higgs-bosons%2F&h=AT1ryZGt8eZkjr8VtJvdF7O_ECl8TYUwlINEJeOpLm279O-2HQdm8K-7D3DWfVjUC51TaPwj5cEFs3_643kfe9GOO3GIdFwu5dpAzOZVghvf3X9taxjwOrhNvuVV-PiGoImW9axSWZvK5jRY0HVDBHNPGvLoBzrxwdZ1kzgke_XYMsmY&s=1",
"web_link": {
"url": "https://cerncourier.com/a/what-can-you-do-with-380-million-higgs-bosons/",
"fbclid": null,
"lynx_mode": "ASYNCLAZY",
"__typename": "ExternalWebLink"
},
"mobileUrl": "https://lm.facebook.com/l.php?u=https%3A%2F%2Fcerncourier.com%2Fa%2Fwhat-can-you-do-with-380-million-higgs-bosons%2F&h=AT3WZGDRRCD-VLBzxP7Fsf_Zjb1cS88KBZ2Gq4DWBZfVEKn4nPU5i4eS8DE14zBaY7SnAhVSKgXdmkyJS7QL5lyEMG5H3lCkeNOYsqh8t-HqvJyCau4Dv2J969HI0G44H160YV74sn5jKoxv30c6XOy2dMoApxcJcZtZsML-YiqAgthJ&s=1",
"external_url": "https://cerncourier.com/a/what-can-you-do-with-380-million-higgs-bosons/"
},
{
"_fromStrapi": true,
"id": "277101575754961",
"url": "https://www.facebook.com/hashtag/higgs?__eep__=6",
"mobileUrl": "https://m.facebook.com/hashtag/higgs"
},
{
"_fromStrapi": true,
"id": "388710277894247",
"url": "https://www.facebook.com/hashtag/antimatter?__eep__=6",
"mobileUrl": "https://m.facebook.com/hashtag/antimatter"
},
{
"_fromStrapi": true,
"id": "218027618337364",
"url": "https://www.facebook.com/hashtag/standard?__eep__=6",
"mobileUrl": "https://m.facebook.com/hashtag/standard"
},
{
"_fromStrapi": true,
"id": "1404235909704964",
"url": "https://www.facebook.com/hashtag/hilumilhc?__eep__=6",
"mobileUrl": "https://m.facebook.com/hashtag/hilumilhc"
},
{
"_fromStrapi": true,
"id": "218164278307153",
"url": "https://www.facebook.com/hashtag/cerncourier?__eep__=6",
"mobileUrl": "https://m.facebook.com/hashtag/cerncourier"
}
],
"reactionWowCount": 1,
"reactionCareCount": 2,
"reactionLikeCount": 135,
"reactionLoveCount": 8,
"topReactionsCount": 4
},
{
"url": "https://www.facebook.com/OurWorldinData/posts/pfbid0cgFatC8MEX6pPqnj6bPWS64bkptnQS5p8LivWR9PbJoJbeRg6fcFjqvf9d35e6iYl",
"link": "https://ourworldindata.org/search?topics=Space+Exploration+%26+Satellites",
"text": "Over 40,000 near-Earth asteroids have been detected since 1990—\n\nSince the late 20th century, astronomers and space agencies have taken steps to monitor the threat of large asteroids passing near Earth.\n\nThey set up international efforts to find these objects early, track their paths, and learn more about what they’re made of, so we’d have the best chance of spotting a real collision risk in time.\n\nAs the chart shows, more than 40,000 near-Earth asteroids have been discovered and tracked since 1990.\n\nNASA estimates that we’ve already found over 90% of near-Earth objects larger than 1 kilometer. These are the most dangerous ones, because an impact at that size could cause global-scale damage.\n\n(This Data Insight was written by Edouard Mathieu and Pablo Rosado.)\n\nExplore more interactive charts on space exploration and satellites: https://ourworldindata.org/search?topics=Space+Exploration+%26+Satellites\n\nSubscribe to our newsletter to receive Data Insights directly in your inbox: https://ourworldindata.org/subscribe",
"time": "2026-01-20T11:17:58.000Z",
"user": {
"_fromStrapi": true,
"id": "100063497546604",
"name": "Our World in Data",
"profilePic": "https://scontent.fwbw1-1.fna.fbcdn.net/v/t39.30808-1/476307086_1193465699446670_8804202441996587127_n.jpg?stp=cp0_dst-jpg_s50x50_tt6&_nc_cat=110&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=ZGpr8DcwVY0Q7kNvwHzaC7d&_nc_oc=AdmGwCHVLWxxE6EnQCCzXLGzIeOeEXwOyd6hrfIWlRTXQ_7MtFNVmFsND5lm_Q3qFiQ&_nc_zt=24&_nc_ht=scontent.fwbw1-1.fna&_nc_gid=dg8rFwrg9E1em7VZFcstUw&oh=00_Afq3evsVu7EiclquNSCxjcw3ThSEzW2hJXemkOyEjZxNWg&oe=697574D3",
"profileUrl": "https://www.facebook.com/100063497546604"
},
"likes": 18,
"media": [
{
"_fromStrapi": true,
"id": "1488978826562021",
"url": "https://www.facebook.com/photo/?fbid=1488978826562021&set=a.542059731253940",
"ocrText": "Cumulative near-Earth asteroids discovered over time. Stacked area chart of cumulative discoveries from 1990 to 2025, showing three size categories: smaller than 140 meters; 140 meters to 1 kilometer; and larger than 1 kilometer. The y-axis runs from 0 to 40,000 cumulative asteroids. Discoveries rise slowly through the 1990s and 2000s, then accelerate sharply after about 2010 and especially after 2015. By 2025, roughly 40,000 near-Earth asteroids have been recorded, with the majority in the smaller-than-140-meters category, a substantial but smaller share in the 140 meters to 1 kilometer category, and a very small number larger than 1 kilometer. Data source: NASA Center for Near-Earth Object Studies (2026). License: CC BY.",
"feedback": {
"_fromStrapi": true,
"id": "ZmVlZGJhY2s6MTQ4ODk3ODgzOTg5NTM1Mw==",
"can_viewer_comment": false
},
"__isMedia": "Photo",
"thumbnail": "https://scontent.fwbw1-1.fna.fbcdn.net/v/t39.30808-6/617842353_1488978829895354_7092179280408000991_n.jpg?stp=dst-jpg_p526x296_tt6&_nc_cat=110&ccb=1-7&_nc_sid=127cfc&_nc_ohc=3dhbP9jOwxIQ7kNvwF1Qzy6&_nc_oc=Adkc0EwoJPJVx-RKMGDlUZJAf_865JrqG1gVo6a3XiDQIG9IaW3QVZy_tqOaLHJKXuE&_nc_zt=23&_nc_ht=scontent.fwbw1-1.fna&_nc_gid=dg8rFwrg9E1em7VZFcstUw&oh=00_AfornpHQbUc5G5G6shAmqPTIIb2dJ7lb8Nn-Mrssv-LDXQ&oe=69754B62",
"__typename": "Photo",
"photo_image": {
"uri": "https://scontent.fwbw1-1.fna.fbcdn.net/v/t39.30808-6/617842353_1488978829895354_7092179280408000991_n.jpg?stp=dst-jpg_p526x296_tt6&_nc_cat=110&ccb=1-7&_nc_sid=127cfc&_nc_ohc=3dhbP9jOwxIQ7kNvwF1Qzy6&_nc_oc=Adkc0EwoJPJVx-RKMGDlUZJAf_865JrqG1gVo6a3XiDQIG9IaW3QVZy_tqOaLHJKXuE&_nc_zt=23&_nc_ht=scontent.fwbw1-1.fna&_nc_gid=dg8rFwrg9E1em7VZFcstUw&oh=00_AfornpHQbUc5G5G6shAmqPTIIb2dJ7lb8Nn-Mrssv-LDXQ&oe=69754B62",
"width": 526,
"height": 526
},
"accent_color": "FFFFFFFF",
"photo_product_tags": []
}
],
"postId": "1488978839895353",
"shares": 3,
"inputUrl": "https://www.facebook.com/OurWorldinData",
"pageName": "OurWorldinData",
"timestamp": 1768907878,
"facebookId": "100063497546604",
"feedbackId": "ZmVlZGJhY2s6MTQ4ODk3ODgzOTg5NTM1Mw==",
"facebookUrl": "https://www.facebook.com/OurWorldinData",
"topLevelUrl": "https://www.facebook.com/100063497546604/posts/1488978839895353",
"collaborators": [],
"pageAdLibrary": {
"_fromStrapi": true,
"id": "255848064618361",
"is_business_page_active": false
},
"textReferences": [
{
"_fromStrapi": true,
"id": "NjQyMTgzOTU5MjA4MTA3Omh0dHBzXGEvL291cndvcmxkaW5kYXRhLm9yZy9zZWFyY2g/dG9waWNzPVNwYWNlK0V4cGxvcmF0aW9uKyUyNitTYXRlbGxpdGVzOjpEZWZhdWx0Ojo6MTQ4ODk3ODgzOTg5NTM1Mw==",
"url": "https://l.facebook.com/l.php?u=https%3A%2F%2Fourworldindata.org%2Fsearch%3Ftopics%3DSpace%2BExploration%2B%2526%2BSatellites&h=AT3NPxyNmqS2JQy-DvT58TqeSLMsmfDLMrV4PTA2IG3Z0CU34gFYT_XCyyl1WSYL5hnYhbJ8vSMkKTIGeQVySnTmPIBPFVlxRDGUe0k5asfIJ60xJp2P2d6BRLs-fjqU3TXnbeVHmUQKARp3Z6-ydQBH9XwkaMJ3&s=1",
"web_link": {
"url": "https://ourworldindata.org/search?topics=Space+Exploration+%26+Satellites",
"fbclid": null,
"lynx_mode": "ASYNCLAZY",
"__typename": "ExternalWebLink"
},
"mobileUrl": "https://lm.facebook.com/l.php?u=https%3A%2F%2Fourworldindata.org%2Fsearch%3Ftopics%3DSpace%2BExploration%2B%2526%2BSatellites&h=AT1N99KYEUlxP8PCcf-3qvEYm7AeLu0SBDTjLZ8dB6LidS7TU2ZayjGvsafq1ZmRnJZsFdFQQRtcNCywo8BLq_u7QXj2Uw43Ki4baM81PjZtaNMHqucYdNIDv-zT9E5DolF5hM6QpIzuo0tpDaWmG11JHVJddp5l&s=1",
"external_url": "https://ourworldindata.org/search?topics=Space+Exploration+%26+Satellites"
},
{
"_fromStrapi": true,
"id": "NjQyMTgzOTU5MjA4MTA3Omh0dHBzXGEvL291cndvcmxkaW5kYXRhLm9yZy9zdWJzY3JpYmU6OkRlZmF1bHQ6OjoxNDg4OTc4ODM5ODk1MzUz",
"url": "https://l.facebook.com/l.php?u=https%3A%2F%2Fourworldindata.org%2Fsubscribe&h=AT3yksEresnHU9OBj2Y-BKIgvYxj8aPk43bTyu2iqKQt0Z854MWqeFqL01Cl2pmhtOf13gw92KmgON1_NIBvAeVlWCcxkekOYfQWIpz-AOqay_Vd0orw4u9JGHYn_cE-hzVLsCWBVBNqyLppudh81pZwPX2fVruy&s=1",
"web_link": {
"url": "https://ourworldindata.org/subscribe",
"fbclid": null,
"lynx_mode": "ASYNCLAZY",
"__typename": "ExternalWebLink"
},
"mobileUrl": "https://lm.facebook.com/l.php?u=https%3A%2F%2Fourworldindata.org%2Fsubscribe&h=AT1VYhjtXkApq3moVuZ-5QEeqYHwsgf873PIVoxZxfPI8BddSoNKhcvOE-3B6QRyJ83i8lQJwlxZbKGQiVTXxE3GcOXvGMbb4U14rzf4llPtSXaiDllYul2YdQvVIrhQVirUCK36ROqN8Y7xsYyXzGZM5kj214tx&s=1",
"external_url": "https://ourworldindata.org/subscribe"
}
],
"reactionHahaCount": 1,
"reactionLikeCount": 17,
"topReactionsCount": 2
},
{
"url": "https://www.facebook.com/reel/895509256298494/",
"text": "Like many animals, panda bears take pains to mark their territory. They may even perform an handstand or two.",
"time": "2026-01-20T14:00:46.000Z",
"user": {
"_fromStrapi": true,
"id": "100044214140223",
"name": "BBC Earth",
"profilePic": "https://scontent-mia3-3.xx.fbcdn.net/v/t39.30808-1/378863511_857719969045133_4486636644081495495_n.jpg?stp=c191.191.1666.1666a_cp0_dst-jpg_s50x50_tt6&_nc_cat=1&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=38S9Wsz6IisQ7kNvwEHjsej&_nc_oc=Adl754iSLl3lFILNqorjKKl9bvdbaRk5ifAe4-18BjgWlvvA1fmkDvFfFfwumHo4XUk&_nc_zt=24&_nc_ht=scontent-mia3-3.xx&_nc_gid=91OrvVvEtP9Zr9FHWiKYMA&oh=00_Afq23KotN4dC2MI0MrFoQOmIYUMiT8oZ6iRWNHZD5oZH2Q&oe=69757D3D",
"profileUrl": "https://www.facebook.com/100044214140223"
},
"likes": 147,
"postId": "1441693187314472",
"shares": 3,
"comments": 2,
"inputUrl": "https://www.facebook.com/bbcearth",
"pageName": "bbcearth",
"timestamp": 1768917646,
"facebookId": "100044214140223",
"feedbackId": "ZmVlZGJhY2s6MTQ0MTY5MzE4NzMxNDQ3Mg==",
"viewsCount": 309624,
"facebookUrl": "https://www.facebook.com/bbcearth",
"topLevelUrl": "https://www.facebook.com/100044214140223/posts/1441693187314472",
"collaborators": [],
"pageAdLibrary": {
"_fromStrapi": true,
"id": "118883634811868",
"is_business_page_active": false
},
"reactionWowCount": 1,
"reactionCareCount": 3,
"reactionHahaCount": 2,
"reactionLikeCount": 112,
"reactionLoveCount": 29,
"topReactionsCount": 5
}
]

How to set up n8n Facebook posts scraper with Apify

Pass Facebook page URLs and set how many posts to retrieve. Configure date filters for a specific time window. The Actor handles rate limiting and returns structured JSON.

Sign up for Apify account01

Creating an account is quick and free. No credit card required. Your account gives you access to more than 20,000+ scrapers and APIs.

Start for free
Get your Apify API token02

Go to Settings in Apify Console and navigate to the API & Integrations tab. There, create a new token and save it for later.

Test run Facebook Posts scraper03

Open Facebook Posts scraper in Apify Console and configure your input parameters. Click Start to run the Actor and preview the data structure you receive in your n8n workflow.

Integrate Facebook Posts scraper via n8n04

Add the Apify node to your n8n workflow. Select Run Actor as the operation, choose your Actor, and pass your input configuration as JSON. Enable Wait for finish to retrieve results directly in subsequent nodes.

Why use Apify?

Never get blocked

Never get blocked

Every plan (free included) comes with Apify Proxy, which is great for avoiding blocking and giving you access to geo-specific content.

Customers love us

Customers love us

We truly care about the satisfaction of our users and thanks to that we're one of the best-rated data extraction platforms on both G2 and Capterra.

Monitor your runs

Monitor your runs

With our latest monitoring features, you always have immediate access to valuable insights on the status of your web scraping tasks.

Frequently Asked Questions

Use the HTTP Request node to call the Apify API. Authenticate with your API token, specify the Facebook posts scraper Actor ID and input parameters, then trigger the run. For short scrapes, you can wait for results synchronously. For longer runs, use webhooks to notify your workflow when data is ready.

Apify offers a free tier with prepaid platform usage - enough for testing and small-scale scraping. Paid plans are available for larger data volumes. No credit card required to try the free tier.

No. Most Apify Actors work through a simple web interface where you configure URLs and extraction settings. Connect the Facebook posts scraper Actor to n8n using the HTTP Request node with no coding required. For advanced customizations, you can modify Actor inputs or write custom extraction logic.

Apify Actors automatically rotate proxies, manage browser fingerprints, solve CAPTCHAs, and handle rate limiting. When a site adds new protections, the Apify team updates the Actors. You get reliable data extraction without managing infrastructure or chasing site changes.

Try n8n Facebook Posts scraper now