Facebook Groups Scraper
7 days trial then $45.00/month - No credit card required now
Facebook Groups Scraper
7 days trial then $45.00/month - No credit card required now
Extract data from one or multiple public Facebook groups. Get group and post URLs, post text, comments, timestamp, likes and comments count, and basic commentator info. Download the data in JSON, CSV, and Excel and use it in apps, spreadsheets, and reports.
Do you want to learn more about this Actor?
Get a demoI would like to retrieve the group name in the result, or use "pageFunction", where we send a function as a string (e.g., at the end of this description) to add the title or other items to the return value.
"pageFunction": "async function pageFunction(context) {\n const { request, log } = context;\n const $ = context.$;\n const title = $('title').text();\n log.info(`URL: ${request.url} TITLE: ${title}`);\n return {\n title,\n context\n };\n}",
Hi! Page function considered as obsolete for all the actors - confusing for many users and therefore not considered as good approach. To illustrate - your page function can not be applied because actor based on data from internal FB API and there is literally no page title tag available during scraping.
For right now please modify dataset by i.e. https://apify.com/lukaskrivka/dedup-datasets or some other actor integration.
As closest alternative do you think adding entire "root" object with group details to each post will work for you?
Hi!
Added group title as groupTitle
output value, see sample run https://console.apify.com/view/runs/I9Gq9iYaWFiIVXhr3
I´m going to close the issue now, but if there would be anything else we could help with, please let us know.
- 504 monthly users
- 37 stars
- 99.7% runs succeeded
- 2.1 days response time
- Created in Nov 2022
- Modified 1 day ago