
Facebook group post scraper
Pricing
$25.00/month + usage

Facebook group post scraper
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
2.2 (2)
Pricing
$25.00/month + usage
27
Total users
1.1k
Monthly users
112
Runs succeeded
97%
Issue response
28 days
Last modified
4 months ago
Facebook post/comment timestamp
Closed
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:
import datetime# Example UNIX timestamp (seconds since epoch)unix_timestamp = 1672531199# Convert timestamp to datetime object (in UTC)dt_utc = datetime.datetime.utcfromtimestamp(unix_timestamp)print("UTC time:", dt_utc)# For local time, you can use fromtimestampdt_local = datetime.datetime.fromtimestamp(unix_timestamp)print("Local time:", dt_local)