Graph:Achievement
From Facebook Developer Wiki (FbDevWiki.com)
Official Docs on Achievements An app can always access achievement(instance) associated with their app with an app or user access_token associated with their app. To access achievements for a user for other apps they require user_games_activity permission and to access achievements for the user's friends, the app requires friends_games_activity permission.
Contents |
Example
Properties
Name | Description | Permissions | Returns | Condition |
---|---|---|---|---|
id | id of the achievement(instance) | A JSON string | ||
from | The user who achieved the achievement | A JSON object containing the id and name fields. |
||
|
Time at which the achievement was achieved | A JSON string containing a IETF RFC 3339 datetime | ||
start_time | A JSON string containing a IETF RFC 3339 datetime | |||
end_time | A JSON string containing a IETF RFC 3339 datetime | |||
publish_time | A JSON string containing a IETF RFC 3339 datetime | |||
application | The application in which the user achieved the achievement | A JSON object containing the id and name fields of the application. |
||
importance | (currently undocumented) | |||
achievement | The achievement object that the user achieved | A JSON object containing the id , url , type , and title of the achievement |
||
likes | likes received by the story | A JSON object containing the count of likes, as well as an array containing the name and id of users who like it | ||
comments | Comments received by the achievement story | A JSON object containing the count of comments, as well as an array containing id of the comment, from object containing the name and id of users who created the comment, message and created_time of the comment |
Connections
None?