You are here

public function InstagramOAuth::auth_request in Drupagram 6

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

Perform an authentication required request.

Overrides Instagram::auth_request

2 calls to InstagramOAuth::auth_request()
InstagramOAuth::get_access_token in ./drupagram.lib.php
Retrieves the access token.
InstagramOAuth::get_request_token in ./drupagram.lib.php
Requests token. Not implemented with Instagram yet.

File

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

Class

InstagramOAuth
A class to provide OAuth enabled access to the Instagram API

Code

public function auth_request($url, $params = array(), $method = 'POST', $use_auth = TRUE) {
  return $this
    ->request($url, $params, $method, $use_auth);
}