PHP » GoLang |
login |
register |
about
|
GoLang OAuth::getRequestToken
request it (305)
GoLang replacement for PHP's OAuth::getRequestToken
[edit | history]
OAuth::getRequestToken(PECL OAuth >= 0.99.1) OAuth::getRequestToken — Fetch a request token Description
public array OAuth::getRequestToken
( string
$request_token_url
[, string $callback_url
[, string $http_method
]] )Fetch a request token, secret and any additional response parameters from the service provider. Parameters
Return Values
Returns an array containing the parsed OAuth response on success or Changelog
Examples
Example #1 OAuth::getRequestToken() example
<?php The above example will output something similar to: Array ( [oauth_token] => some_token [oauth_token_secret] => some_token_secret ) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|