public function Instagram::self_liked in Drupagram 6
Same name and namespace in other branches
- 7 drupagram.lib.php \Instagram::self_liked()
See the authenticated user's list of media they've liked. Note that this list is ordered by the order in which the user liked the media. Private media is returned as long as the authenticated user has permission to view that media. Liked media lists are only available for the currently authenticated user. GET /users/self/media/liked
PARAMETERS access_token A valid access token. max_like_id Return media liked before this id count Count of media to return
File
- ./
drupagram.lib.php, line 320 - Classes to implement the full Instagram API
Class
- Primary Instagram API implementation class Supports the full REST API for drupagram.
Code
public function self_liked($params = array(), $use_auth = TRUE) {
$params['user-id'] = 'self';
return $this
->fetch('users/{user-id}/media/recent', $params, $use_auth);
}