Wiki

Clone wiki

OAuth / Facebook Checkin

( ! ) Warning

Please refer to Facebook doc to know what permissions need to be required in Facebook::request().


Checkin Retrieval

Retrieve the checkin with ID equal to $id

#!php

$checkin = Facebook::checkin($id)->get();

Likes Retrieval

Retrieve the likes of the checkin with ID equal to $id

#!php

$likes = Facebook::checkin($id)->likes();

Comments Retrieval

Retrieve the comments of the checkin with ID equal to $id

#!php

$comments = Facebook::checkin($id)->comments();

Like Addition

Add a like to the checkin with ID equal to $id.

#!php

$boolean = Facebook::checkin($id)->like();

Like Removal

Remove a like from the checkin with ID equal to $id.

#!php

$boolean = Facebook::checkin($id)->dislike();

Comment Addition

Add a comment to the checkin with ID equal to $id.

#!php

$commentID = Facebook::checkin($id)->comment($comment);

Updated