You are here

public function Instagram::set_auth in Drupagram 6

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

Set the username and password

1 call to Instagram::set_auth()
Instagram::__construct in ./drupagram.lib.php
Constructor for the Instagram class

File

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

Class

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

Code

public function set_auth($username, $access_token) {
  $this->username = $username;
  $this->access_token = $access_token;
}