JFacebookUser::createCheckin
Method to create a checkin for a user. Requires authentication and publish_checkins permission.
Signature
public function createCheckin(mixed
$user,
[string
$place = null,
[string
$coordinates = null,
[string
$tags = null,
[string
$message = null,
[string
$link = null,
[string
$picture = null]]]]]] )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the username.
-
$place
- Id of the Place Page.
-
$coordinates
- A JSON-encoded string containing latitute and longitude.
-
$tags
- Comma separated list of USER_IDs.
-
$message
- A message to add to the checkin.
-
$link
- A link to add to the checkin.
-
$picture
- A picture to add to the checkin.
Returns
- mixed
- The decoded JSON response or false if the client is not authenticated.