You are here

public function Twitter::get_authenticate_url in Twitter 7.5

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

File

./twitter.lib.php, line 70
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_authenticate_url($token) {
  $url = variable_get('twitter_api', TWITTER_API) . '/oauth/authenticate';
  $url .= '?oauth_token=' . $token['oauth_token'];
  return $url;
}