Facebook group post scraper
1 day trial then $25.00/month - No credit card required now
Facebook group post scraper
1 day trial then $25.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
This is NOT an issue. I have noticed that there is no proper documentation for this actor, but that some documentation comes out from actual issues. So I thought to add this issue as a way to documenting one of the fields in the data scraped, for those not familiar with the actual Facebook Graph API.
The actor returns also the created_time
field of posts, comments, etc. This timestamp is expressed as UNIX timestamp (as per FB Graph API documentation: https://developers.facebook.com/docs/graph-api/reference/post/).
A UNIX timestamp (also known as POSIX time or epoch time) is a system for tracking time as the number of seconds that have elapsed since the Unix epoch (January 1, 1970, at 00:00:00 UTC), not counting leap seconds. This means that a UNIX timestamp is simply an integer (or sometimes a floating-point number if you include fractional seconds) that represents a point in time relative to that starting date.
UNIX timestamp can be converted to actual date and time quite simply:
1import datetime 2 3# Example UNIX timestamp (seconds since epoch) 4unix_timestamp = 1672531199 5 6# Convert timestamp to datetime object (in UTC) 7dt_utc = datetime.datetime.utcfromtimestamp(unix_timestamp) 8print("UTC time:", dt_utc) 9 10# For local time, you can use fromtimestamp 11dt_local = datetime.datetime.fromtimestamp(unix_timestamp) 12print("Local time:", dt_local)
Actor Metrics
86 monthly users
-
20 stars
96% runs succeeded
29 days response time
Created in Aug 2023
Modified 12 days ago