NOTE: Publishing a Checkin object is deprecated in favor of creating a Post with a location attached.
A Checkin represents a single visit to a location. The User and Page objects have checkin connections.
The behavior of Checkins is affected by the "Include Checkins with Statuses" migration setting.
To read Checkins with this migration enabled, you need:
user_status permission to read the user's checkins.friends_status permission to read the user's friend's checkins.To read Checkins without this migration enabled, you need:
user_checkins permission to read the user's checkins.friends_checkins permission to read the user's friend's checkins.To read a Checkin object, issue an HTTP GET request to /CHECKIN_ID with one of the above permissions.
| Name | Description | Permissions | Returns |
id | The checkin ID |
|
|
from | The ID and name of the user who made the checkin |
| object containing the |
tags | The users the author tagged in the checkin |
|
|
place | Information about the Facebook Page that represents the location of the checkin |
| object containing the Page |
application | Information about the application that made the checkin |
| object that contains the |
created_time | The time the checkin was created |
|
|
likes | Users who like the checkin |
|
|
message | The message the user added to the checkin |
|
|
comments | All of the comments on this link |
| Array of objects containing |
type | The type of this object; always returns |
|
|
| Name | Description | Permissions | Returns |
| comments | All of the comments on this checkin. |
|
|
| likes | Users who like this checkin. |
|
|
You can write to the CHECKIN_ID/comments connection to post a comment to the checkin by issuing an HTTP POST request with the publish_stream permission and following parameters.
| Parameter | Description | Type | Required |
|---|---|---|---|
message |
Comment text | string |
yes |
If the write is successful, you get the following return.
| Name | Description | Type |
|---|---|---|
id |
The new comment ID | string |
You can like a checkin by issuing a HTTP POST request to CHECKIN_ID/likes connection with the publish_stream permission. No parameters are necessary.
If the write is successful, you get the following return.
| Description | Type |
|---|---|
| If the like succeeded | boolean |
You can unlike an checkin by issuing an HTTP DELETE request to the CHECKIN_ID/likes connection with the publish_stream permission.
If the delete is successful, you get the following return.
| Description | Type |
|---|---|
| If the unlike succeeded | boolean |