You are here

public function TwitterOAuth::get_authorize_url in Twitter 6.3

Same name and namespace in other branches
  1. 7.3 twitter.lib.php \TwitterOAuth::get_authorize_url()

File

./twitter.lib.php, line 387
Classes to implement the full Twitter API

Class

TwitterOAuth
A class to provide OAuth enabled access to the twitter API

Code

public function get_authorize_url($token) {
  $url = $this
    ->create_oauth_url('oauth/authorize', '');
  $url .= '?oauth_token=' . $token['oauth_token'];
  return $url;
}