You are here

protected function Instagram::auth_request in Drupagram 7

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

Perform an authentication required request.

1 call to Instagram::auth_request()
Instagram::call in ./drupagram.lib.php
Method for calling any drupagram api resource
1 method overrides Instagram::auth_request()
InstagramOAuth::auth_request in ./drupagram.lib.php
Perform an authentication required request.

File

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

Class

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

Code

protected function auth_request($path, $params = array(), $method = 'GET') {
  $params['!access_token'] = $this->access_token;
  return $this
    ->request($path, $params, $method, TRUE);
}