'What is the timezone that Facebook publish the scheduled posts?
I am using Facebook graph API to post on pages
What is the timezone that Facebook publish the scheduled posts in pages?
Is it the admin timezone?
Like this: 1354308243
Solution 1:[1]
I don't know about facebook api, but this looks like unix timestamp, which is a number of seconds since epoch and epoch is Jan 1st, 1970 UTC.
Solution 2:[2]
What you are dealing with is called timestamp which doesn't mess up things with timezone at all because you calculate the timestamp of your time in timezone and work with it. And whatever time it will be across different parts of the world, it will happen exactly on the specified time.
So instead of saying post it on 7PM, convert the 7PM into timestamp and wotk with that number, like post it on 1354308243. Makes sense?
Solution 3:[3]
I had the same problem by setting my php script to use UTC, but timestamp I used created +2 hours time in Facebook. After investigation and checking reference API I found that the user's timezone is offset from UTC
https://developers.facebook.com/tools/explorer/?method=GET&path=me%3Ffields%3Dtimezone&version=v2.10
I saw that my timezone is +2 from UTC time, so I changed it in php script to adjust it. Now it is working OK.
So I assume it relies on admin timezone.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Michael Krelin - hacker |
| Solution 2 | Ashfame |
| Solution 3 | emir |
