public function Instagram::user_lookup in Drupagram 6
Same name and namespace in other branches
- 7 drupagram.lib.php \Instagram::user_lookup()
1 call to Instagram::user_lookup()
- Instagram::user_recent in ./
drupagram.lib.php - Get the most recent media published by a user. GET /users/{user-id}/media/recent
File
- ./
drupagram.lib.php, line 286 - Classes to implement the full Instagram API
Class
- Primary Instagram API implementation class Supports the full REST API for drupagram.
Code
public function user_lookup($username, $params = array(), $use_auth = TRUE) {
$params['!q'] = $username;
$result = $this
->fetch('user_search', $params, $use_auth);
return $result;
}