Facebook group post scraper avatar
Facebook group post scraper
Try for free

3 days trial then $10.00/month - No credit card required now

View all Actors
Facebook group post scraper

Facebook group post scraper

curious_coder/facebook-post-scraper
Try for free

3 days trial then $10.00/month - No credit card required now

Scrape post from facebook groups you are member of and get details such as poster's name, id, url, and post text, reactions and comments count, time, etc

User avatar

New credentials not picked up when run resurrected

Closed

deliberative_flat opened this issue
a month ago

Runs are failing after several hundred records - when new cookies are added to the input page to fix this & resurrect, the new credentials are not used and the logs show unable to login to facebook account.

2024-05-19T12:15:22.843Z ACTOR: Pulling Docker image of build 69Oc0ae2xzjP4XFlA from repository. 2024-05-19T12:15:24.857Z ACTOR: Creating Docker container. 2024-05-19T12:15:25.179Z ACTOR: Starting Docker container. 2024-05-19T12:15:28.896Z INFO System info {"apifyVersion":"3.2.0","apifyClientVersion":"2.9.3","crawleeVersion":"3.10.0","osType":"Linux","nodeVersion":"v16.20.2"} 2024-05-19T12:15:45.735Z WARN 2024-05-19T12:15:45.738Z Couldn't detect the facebook account from given cookies. 2024-05-19T12:15:45.740Z The cookies might be invalid or you might have been logged out. 2024-05-19T12:15:45.742Z Check your browser if you are still logged in on facebook. 2024-05-19T12:15:45.745Z If this run fails, Export the cookies from the browser again and use new cookies and run the actor again. 2024-05-19T12:15:45.747Z If you face this issue frequently, try using a proxy server near to the location of facebook account or login 2024-05-19T12:15:45.749Z 2024-05-19T12:15:49.042Z ERROR Cannot read properties of undefined (reading 'node') 2024-05-19T12:15:49.046Z INFO Found 0 posts

User avatar

Use more min & max delays. Do not use the facebook account while scraping (also you can clear the cookies from browser after exporting )

User avatar

Also use proxy from country you logged into your facebook account

You can't resurrect with new input, but you can start a new run with new cookies and use "cursor" value from last run (you can find it under key-value storage named "state") to resume scraping from last record

Developer
Maintained by Community
Actor metrics
  • 54 monthly users
  • 0 stars
  • 93.1% runs succeeded
  • 9.9 days response time
  • Created in Aug 2023
  • Modified about 20 hours ago