You are here

public function Instagram::user_feed in Drupagram 7

Fetch a user's feed

File

./drupagram.lib.php, line 225
Classes to implement the full Instagram API

Class

Instagram
Primary Instagram API implementation class Supports the full REST API for drupagram.

Code

public function user_feed($id = 'self', $params = array(), $use_auth = TRUE) {
  $params['!user_id'] = $id;
  $params['!count'] = 10;
  $result = $this
    ->fetch('user_feed', $params, $use_auth);
  return $result;
}