Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Graph API Filters - What options are available?

It seems that you can make a call to the Graph API that looks like this:

https://graph.facebook.com/me/checkins?since=yesterday

Apparently you can pass either a UNIX timestamp or any valid strtotime value.

The questions...how do you know what other options are available to you in the request? I don't see any documentation about this "since" filter or any other similar filter. Is this information just trickling down from people who know some API engineers at Facebook?

I know that there are some things that you can do in FQL that are similar to what I was describing but I want to stay with the Graph API if I can.

Thanks --Tony

like image 464
Anthony Lee Avatar asked Oct 15 '11 16:10

Anthony Lee


People also ask

What data can I get from Facebook Graph API?

The Graph API is the primary way to get data into and out of the Facebook platform. It's an HTTP-based API that apps can use to programmatically query data, post new stories, manage ads, upload photos, and perform a wide variety of other tasks.

Is Facebook Graph API deprecated?

Graph API Version Deprecations: August 3, 2021: Graph API v3. 3 will be deprecated and removed from the platform. November 2, 2021: Graph API v4. 0 will be deprecated and removed from the platform.

Is Facebook Graph API a REST API?

As you suggested, the Graph API, just like the Legacy REST API, is in fact a RESTful API.

What is Facebook graph used for?

The Facebook Graph API is an HTTP-based API that allows developers to extract data and functionality from the Facebook platform. Applications can use this API to programmatically query data, post in pages and groups, and manage ads, among other tasks. The other Facebook APIs are extensions of the Graph API.


1 Answers

Anothony Lee:

since, until - (a unix timestamp or any date accepted by strtotime): EG: since=yesterday until=now, since=6+months+ago until=3+months+ago, since=10/01/2011 until=10/11/2011

another example

&since=noon+monday+last+week &until=10+minutes+ago.

like image 114
ShawnDaGeek Avatar answered Sep 24 '22 11:09

ShawnDaGeek