Facebook Posts Scraper avatar

Facebook Posts Scraper

Try for free

7 days trial then $35.00/month - No credit card required now

Go to Store
Facebook Posts Scraper

Facebook Posts Scraper

apify/facebook-posts-scraper
Try for free

7 days trial then $35.00/month - No credit card required now

Extract data from hundreds of Facebook posts from one or multiple Facebook pages and profiles. Get post URL, post text, page or profile URL, timestamp, number of likes, shares, comments, and more. Download the data in JSON, CSV, and Excel and use it in apps, spreadsheets, and reports.

OB

How can I filter for video only

Open
outstanding_battery opened this issue
13 days ago

It's loading tons of data, I onyl need video, is there a way to only scrape for video data? Also - if no date selected - does it start with the newest post going back or vice versa?

OB

outstanding_battery

12 days ago

Thanks,I want to get all videos of a FB channel. Is there difference using https://www.facebook.com/NintendoAmerica with https://apify.com/apify/facebook-reels-scraper and using the precise link? https://www.facebook.com/NintendoAmerica/videos

Update: I checked and https://apify.com/apify/facebook-reels-scraper is only listing the reels, not the videos, indeed. I would also need all /videos vidoe information.

alexey avatar

Hi!

For videos only search results are available: https://apify.com/apify/facebook-video-search-scraper

I will estimate adding a page video section to the actor and let you know.

OB

outstanding_battery

9 days ago

Great. And I'm also missing something to download the video files by using the URL of a video. Sometimes the token of the "Facebook Posts Scraper" are already invalid = I cannot download the SD/HD files anymore. Some scrapers give the possibility to also store the video files, this would come in handy as well.

alexey avatar

For downloading there is a separate actor https://apify.com/lukaskrivka/images-download-upload and you can edit the input below to fit your case:

1{
2    "convertWebpToPng": false,
3    "datasetId": "kya3nQTKUtFYNVhrk",
4    "fileNameFunction": "({ url }) => new URL(url).pathname.split(\"/\").pop()",
5    "imageCheckType": "content-type",
6    "noDownloadRun": false,
7    "pathToImageUrls": "images",
8    "preDownloadFunction": "({ data }) => data.map((item) => {\r\n    if (!item.images?.length) {\r\n        item.images = [item.displayUrl];\r\n    }\r\n    return item;\r\n})",
9    "proxyConfiguration": {
10        "useApifyProxy": true
11    },
12    "s3CheckIfAlreadyThere": false,
13    "uploadTo": "zip-file"
14}
Developer
Maintained by Apify

Actor Metrics

  • 1.5k monthly users

  • 273 bookmarks

  • >99% runs succeeded

  • 2.7 days response time

  • Created in Nov 2022

  • Modified a day ago