Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of Facebook fields returned by Social Graph API

Does anybody know if there is an authoritative list of fields that can be returned by the Facebook Social Graph API? For example the fields returned by an Author object are different to a Company object. Is there a list of all the possible fields and the data types?

like image 794
Nick Swan Avatar asked Feb 23 '11 21:02

Nick Swan


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.

How do I get Facebook Page Insights on graph API?

You can access Page Insights by typing /insights after the name of your page in the URL field. This command will retrieve all of the Insights associated with your Page. Type "/insights" after your company name. Click the Submit button.

Is Facebook Graph API deprecated?

API Version Deprecations: As part of Facebook's Graph API and Marketing API, please note the upcoming deprecations: August 3, 2021: Graph API v3. 3 will be deprecated and removed from the platform. August 25, 2021 Marketing API v9.


2 Answers

There is a tool called graph API explorer. https://developers.facebook.com/tools/explorer

you can search for field names by typing onenter image description here "search for a field" on the left side

like image 98
Ryu_hayabusa Avatar answered Sep 27 '22 19:09

Ryu_hayabusa


If you want to discover all field available to return on an endpoint Simply add metadata=1 to your query... Like https://graph.facebook.com/me?metadata=1&acccess_token="PUT A VALID ACCESS TOKEN"

like image 36
Brain Arts Avatar answered Sep 27 '22 21:09

Brain Arts