construct WeiboOAuth object
SaeTOAuth
__construct
( $consumer_key, $consumer_secret, [ $oauth_token = NULL], [ $oauth_token_secret = NULL])
-
$consumer_key
-
$consumer_secret
-
$oauth_token
-
$oauth_token_secret
DELTE wrapper for oAuthReqeust.
mixed
delete
( $url, [ $parameters = array()])
GET wrappwer for oAuthRequest.
mixed
get
( $url, [ $parameters = array()])
Exchange the request token and secret for an access token and secret, to sign API calls.
array
getAccessToken
([ $oauth_verifier = FALSE], [ $oauth_token = false])
-
$oauth_verifier
-
$oauth_token
Get the authorize URL
string
getAuthorizeURL
( $token, [ $sign_in_with_Weibo = TRUE], $url)
-
$token
-
$sign_in_with_Weibo
-
$url
Get the header info to store.
int
getHeader
( $ch, $header)
Get a request_token from Weibo
array
getRequestToken
([ $oauth_callback = NULL])
Make an HTTP request
string
http
( $url, $method, [ $postfields = NULL], [ $multi = false])
-
$url
-
$method
-
$postfields
-
$multi
Format and sign an OAuth / API request
string
oAuthRequest
( $url, $method, $parameters, [ $multi = false])
-
$url
-
$method
-
$parameters
-
$multi
POST wreapper for oAuthRequest.
mixed
post
( $url, [ $parameters = array()], [ $multi = false])