Cannot find this in Graph API documentation or in any FB settings, I'm in UTC+1 currently, looks like responses I get are in UTC.
Made a post this morning at 11:48 am EST. Display on FB page says 11:48 am.
Graph API says 16:48 so I'm thinking that the created_time is going to be in UTC.
I saw a post or two that said they use UTC-8 which would be pacific standard time, but according to what I'm looking at on FB and on the Graph API, I'm seeing UTC.
hope this helps!
Related
How to read Facebook comments based on updated time through API?
I tried "since" and "until" but both are reading the data based on created time.
for example let us assume a user created a post on his timeline two days back and someone commented on the post today. If I try to read the comment done on today using the following query /me/feed?since=2014-09-08 it doesn't return anything because the created date is two days back.
There's unfortunately no way to query the Graph API concerning the upate timestamp IMHO. since and until reference the created_time, as you said.
If you have a Graph API v2.0 app, you could theoretically use FQL to query by comment creation timestamp. Have a look at the comment table at https://developers.facebook.com/docs/reference/fql/comment/ and the field time. I guess you'd have to in conjunction with the stream table to get the post_is list.
To be able to use FQL you'll need an app which is an Graph API v2.0 app. And FQL will only work until April 30th 2016.
Can anyone tell me how will i be able to fetch the friendlist using a simple HTTP request call like mentioned below,
https://graph.facebook.com/me/friends?access_token=xxxx
This was working for me using the access_token generated before the new update of Graph API on April 30th.
Can anyone help me out in getting this done?
This is like the 50th question about this topic. Please use the search of SO next time first.
It's no longer possible for an app which was created after 30th of April 2014 to get the complete user list. For an app which was created before that, you can prepend /me/friends with /v1.0 to get the friend list. This will only work until 30th April 2015!
My answer to this question: retrieve full list of friends using facebook API
Also, see the docs:
https://developers.facebook.com/docs/apps/upgrading#upgrading_v2_0_user_ids
https://developers.facebook.com/docs/apps/changelog#v2_0_graph_api
I have an app that uses the Graph API to read a feed from the Facebook group:
https://www.facebook.com/groups/1396648167216137/
Neither my app nor the Graph API Explorer on the Facebook developers home pages return any posts later than the 16th October 2013 yet later posts are clearly visible on the group page.
Any suggestions as to how to get the latest posts greatly appreciated.
Kind regards,
Rob
Just to follow this up. Turns out the 16th was purely coincidental, no posts or comments had been made except for comments on a particular post. What I was actually running into was the comment paging. Solved by adding &comments.limit=100 to the end of the URL. Answer obtained here
Kind Regards,
Rob
Is there a way to to access the date of a post, link or photo that has been backdated on a Page timeline?
The Graph API provides the created time and updated time, but does not reveal where it falls on the timeline.
For instance, I could post a link on 11/16/12 and set it to 10/31/12 on the timeline, and all I can access via the Graph API is the 11/16/12 date.
Is there a similar field to "start_time", provided with milestones? In this case, the created time can differ from the start time.
Thanks, everyone.
Starting with the 'Events Timezone' migration, Facebook changed the timesptamp time formatting to UTC.
I am developing a native android app and running fql query for fetching user's info.
Problem is I am still getting time as timestamp instead of UTC, though when trying to run a simple fql via GRAPH-API tool I am getting time in UTC format.
Events Timezone Migration Note on facebook:
https://developers.facebook.com/docs/reference/fql/event/
Does anyone experiencing the same thing?
on facebook app settings:
apps->edit app->advance-> and enable Events Timezone
(as CBroe suggested)