public function Users::getSelfMediaRecent in Instagram API 8
Get the most recent media published by the owner of the access_token.
Parameters
array $args: Args, see API docs for options.
bool $cacheable: Cacheable.
Return value
array|bool Response array. https://api.instagram.com/v1/users/self/?access_token=ACCESS-TOKEN
See also
https://www.instagram.com/developer/endpoints/users/#get_users_self
File
- src/
Service/ Users.php, line 83
Class
- Users
- Class Users.
Namespace
Drupal\instagram_api\ServiceCode
public function getSelfMediaRecent(array $args = [], $cacheable = TRUE) {
$response = $this->client
->request('users/self/media/recent', $args, $cacheable);
if ($response) {
return $response;
}
return FALSE;
}