src/Widop/Twitter/OAuth/OAuth.php
public function getRequestToken($callback = 'oob')
    {
        $request = $this->createRequest('/oauth/request_token', OAuthResponse::FORMAT_STR);
        $request->setOAuthParameter('oauth_callback', $callback);
        $this->signRequest($request, new OAuthToken());

        return $this->createOAuthToken($this->sendRequest($request));
    }
public function getRequestToken($callback = 'oob')
    {
        $request = $this->createRequest('/oauth/request_token', OAuthResponse::FORMAT_STR);
        $request->setOAuthParameter('oauth_callback', $callback);
        $this->signRequest($request, new OAuthToken());

        return $this->createOAuthToken($this->sendRequest($request));
    }
public function getRequestToken ( $ callback = 'oob' ) { $ request = $ this -> createRequest ( '/oauth/request_token' , OAuthResponse :: FORMAT_STR ) ; $ request -> setOAuthParameter ( 'oauth_callback' , $ callback ) ; $ this -> signRequest ( $ request , new OAuthToken ( ) ) ; return $ this -> createOAuthToken ( $ this -> sendRequest ( $ request ) ) ; }
Gets a request token.

@param string $callback The OAuth callback.

@return \Widop\Twitter\OAuth\Token\OAuthToken The request token.
Gets a request token .