I need to check user’s time zone… but I can’t find how it defined really.
The reference API says : The user’s timezone offset from UTC
Now on Wikipedia these are the timezone possible.
Take India as an example : UTC+05:30.
So how does facebook encode this in users’s field timezone.
Since I’m in Europe my own timezone is : 2, actually it should be 1 but I presume the summer time is build in. Howerver I don’t know for sure.
Use the graph explorer with a valid token (or request a token) and look at an example. You’ll see that the timezone is a number representing the hours ahead or behind UTC.
https://developers.facebook.com/tools/explorer/?method=GET&path=me
Mine is currently 1, which is BST (UTC + 1 hour). I believe yours, being in France, will be 2 (summertime is automatic), and San Francisco will be -7. India will be 5.5