Graph API Version

Open Graph Object:generic

Reading

An Open Graph object

Permissions

Developers usually request these permissions for this endpoint:

Marketing Apps
No data
Page management Apps
No data
Other Apps
Permissions are not usually requested.

Examples

Graph API Explorer
GET v2.10/...?fields={fieldname_of_type_OpenGraphObject:generic} HTTP/1.1
Host: graph.facebook.com
/* PHP SDK v5.0.0 */
/* make the API call */
$request = new FacebookRequest(
  $session,
  'GET',
  '...?fields={fieldname_of_type_OpenGraphObject:generic}'
);
$response = $request->execute();
$graphObject = $response->getGraphObject();
/* handle the result */
/* make the API call */
FB.api(
    "...?fields={fieldname_of_type_OpenGraphObject:generic}",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "...?fields={fieldname_of_type_OpenGraphObject:generic}",
    null,
    HttpMethod.GET,
    new GraphRequest.Callback() {
        public void onCompleted(GraphResponse response) {
            /* handle the result */
        }
    }
).executeAsync();
// For more complex open graph stories, use `FBSDKShareAPI`
// with `FBSDKShareOpenGraphContent`
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                               initWithGraphPath:@"...?fields={fieldname_of_type_OpenGraphObject:generic}"
                                      parameters:params
                                      HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];
If you want to learn how to use the Graph API, read our Using Graph API guide.

Parameters

This endpoint doesn't have any parameters.

Fields

FieldDescription

id

numeric string

The Open Graph object ID

admins

A list of admins

application

The application that created this object

audio

A list of audio URLs

context

Context

created_time

datetime

The time the object was created

description

string

A short description of the object

determiner

string

The word that appears before the object's title

engagement

The social sentence and like count for this object and its associated share. This is the same info used for the like button

image

A list of image URLs

is_scraped

bool

Whether the object has been scraped

locale

The locale the object is in

location

The location inherited from Place

post_action_id

id

The action ID that created this object

profile_id

The Facebook ID of a user that can be followed

restrictions

Any restrictions that are placed on this object

see_also

list<string>

An array of URLs of related resources

site_name

string

The name of the web site upon which the object resides

title

string

The title of the object as it should appear in the graph

type

string

The type of the object

updated_time

datetime

The last time the object was updated

video

A list of video URLs

Edges

EdgeDescription

comments

Comments made on this

likes

People who like this

picture

Picture associated with this object

reactions

People who reacted on this

Creating

You can't perform this operation on this endpoint.

Updating

You can't perform this operation on this endpoint.

Deleting

You can't perform this operation on this endpoint.