You are here

public function Twitter::get_authorize_url in Twitter 6.5

Same name and namespace in other branches
  1. 7.6 twitter.lib.php \Twitter::get_authorize_url()
  2. 7.5 twitter.lib.php \Twitter::get_authorize_url()

File

./twitter.lib.php, line 63
Integration layer to communicate with the Twitter REST API 1.1. https://dev.twitter.com/docs/api/1.1

Class

Twitter
Primary Twitter API implementation class

Code

public function get_authorize_url($token) {
  $url = variable_get('twitter_api', TWITTER_API) . '/oauth/authorize';
  $url .= '?oauth_token=' . $token['oauth_token'];
  return $url;
}