JFacebookLink::getLikes
Method to get link's likes. Requires authentication and read_stream permission for non-public links.
Signature
public function getLikes(string
$link,
[integer
$limit = 0,
[integer
$offset = 0,
[string
$until = null,
[string
$since = null]]]] )
Parameters
-
$link
- The link id.
-
$limit
- The number of objects per page.
-
$offset
- The object's number on the page.
-
$until
- A unix timestamp or any date accepted by strtotime.
-
$since
- A unix timestamp or any date accepted by strtotime.
Returns
- mixed
- The decoded JSON response or false if the client is not authenticated.