GET
request to the User endpoint".includeSubdomains
HSTS directive on facebook.com
, but this should not adversely affect your Graph API calls.graph.facebook.com
host URL. The single exception is video uploads, which use graph-video.facebook.com
.GET
request to an object ID and include the metadata=1
parameter:metadata
property that lists all the supported fields for the given node:/me
node is a special endpoint that translates to the object ID of the person or Page whose access token is currently being used to make the API calls. If you had a User access token, you could retrieve a User's name and ID by using:fields
parameter and listing each field. This overrides the defaults and returns only the fields you specify, and the ID of the object, which is always returned.fields
parameter and the User's name, email, and profile picture.bool
, string
and int
, but there are also list
and object
types that can be specified in the request.list
type is specified in JSON syntax, for example: ["firstitem", "seconditem", "thirditem"]
object
type is also specified in JSON syntax, for example: {"firstkey": "firstvalue", "secondKey": 123}
POST
operations. For example, you could update your email
field like this:fields
parameter in your request and list the fields you want returned. For example, to publish the message “Hello” to a Page's feed, you could make the following request:collaborative_ads_merchants
field below.native offer
represents an Offer on Facebook. The /{offer_id}
node returns a single native offer
. Each native offer
requires a view
to be rendered to users./comments
edge that is common to multiple Graph API nodes. The structure and operations are the same for each node./likes
edge that is common to multiple Graph API nodes. The structure and operations are the same for each node.ACTIVE
status.