Graph API Version

Open Graph Action:games.achieves

Reading

An Open Graph action of games.achieves type

Permissions

Developers usually request these permissions for this endpoint:

Marketing Apps
  • ads_management
  • manage_pages
  • pages_show_list
Page management Apps
  • manage_pages
  • pages_show_list
Other Apps
  • user_photos

Examples

Graph API Explorer
GET v2.10/...?fields={fieldname_of_type_OpenGraphAction:games.achieves} 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_OpenGraphAction:games.achieves}'
);
$response = $request->execute();
$graphObject = $response->getGraphObject();
/* handle the result */
/* make the API call */
FB.api(
    "...?fields={fieldname_of_type_OpenGraphAction:games.achieves}",
    function (response) {
      if (response && !response.error) {
        /* handle the result */
      }
    }
);
/* make the API call */
new GraphRequest(
    AccessToken.getCurrentAccessToken(),
    "...?fields={fieldname_of_type_OpenGraphAction:games.achieves}",
    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_OpenGraphAction:games.achieves}"
                                      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 ID of the Open Graph Action

application

Application that created this Action

data

Custom properties of the action

end_time

datetime

The time this action ended

from

The actor of the Open Graph Action

image

List of images attached to this Action

is_explicitly_shared

bool

Whether the action was explicitly shared by the Actor

message

string

The message associated with the Action

message_tags

The message tags

no_feed_story

bool

Whether the story is published to feed

photos

list<numeric string>

IDs of the photos associated with the Action

place

The place where this Action is tagged in

publish_time

datetime

The time when the Action was published

ref

string

The value of the param that is appended to the URL when a user clicks on the action displayed in Facebook and is taken to the external site

start_time

datetime

The time this Action started

tags

Profiles tagged in this Action

type

string

The type of the Open Graph Action

Edges

EdgeDescription

comments

Comments made on this

likes

People who like 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.