You are here

public function Instagram::self_feed in Drupagram 7

Same name and namespace in other branches
  1. 6 drupagram.lib.php \Instagram::self_feed()

See the authenticated user's feed. GET /users/self/feed

PARAMETERS access_token A valid access token. max_id Return media earlier than this max_id min_id Return media later than this min_id count Count of media to return

@example https://api.instagram.com/v1/users/self/feed?access_token=10920197.f59de...

File

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

Class

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

Code

public function self_feed($params = array(), $use_auth = TRUE) {
  return $this
    ->fetch('user_feed', $params, $use_auth);
}