request_token


Description:

public bool request_token (string function, string callback_uri) throws Error

Perform the Request Token phase of OAuth, invoking function (defaulting to "request_token" if function is NULL).

The value of callback depends on whether you wish to use OAuth 1.0 or 1.0a. If you wish to use 1.0 then callback must be NULL. To use 1.0a then callback should either be your callback URI, or "oob" (out-of-band).

Parameters:

this

an OAuthProxy

function

the function name to invoke

callback_uri

the callback URI

Returns:

true on success, or false on failure. On failure error is set.