Wiki

Clone wiki

OAuth / Facebook Comment

( ! ) Warning

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


Comment Retrieval

Retrieve the comment with ID equal to $id

#!php

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

Comment Removal

Remove the comments with ID equal to $id

#!php

$boolean = Facebook::comment($id)->remove();

Likes Retrieval

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

#!php

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

Like Addition

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

#!php

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

Like Removal

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

#!php

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

Updated