getRequestToken() публичный Метод

Get a request_token from Twitter
public getRequestToken ( String $oauth_callback = null )
$oauth_callback String [Optional] The callback provided for Twitter's API. The user will be redirected there after authorizing your app on Twitter.
Пример #1
0
 /**
  * Get a request_token from Twitter
  *
  * @param String $oauth_callback [Optional] The callback provided for Twitter's API. The user will be redirected there after authorizing your app on Twitter.
  * @returns Array|Bool a key/value array containing oauth_token and oauth_token_secret in case of success
  * @static 
  */
 public static function getRequestToken($oauth_callback = null)
 {
     return \Thujohn\Twitter\Twitter::getRequestToken($oauth_callback);
 }