Méthode |
Description |
|
__construct ( $consumer_key, $consumer_secret, $oauth_token = NULL, $oauth_token_secret = NULL ) |
construct WeiboOAuth object |
|
accessTokenURL ( ) |
|
|
authenticateURL ( ) |
|
|
delete ( $url, $parameters = [] ) : mixed |
DELTE wrapper for oAuthReqeust. |
|
get ( $url, $parameters = [] ) : mixed |
GET wrapper for oAuthRequest. |
|
getAccessToken ( $oauth_verifier = FALSE, $oauth_token = false ) : array |
Exchange the request token and secret for an access token and
secret, to sign API calls. |
|
getAuthorizeURL ( $token ) |
*function getAuthorizeURL($token, $url) {
if (is_array($token)) {
$token = $token['oauth_token'];
} |
|
getHeader ( $ch, $header ) : integer |
Get the header info to store. |
|
getRequestToken ( $oauth_callback = NULL ) : array |
Get a request_token from Weibo |
|
http ( $url, $method, $postfields = NULL, $multi = false ) : string |
Make an HTTP request |
|
lastAPICall ( ) |
|
|
lastStatusCode ( ) |
|
|
oAuthRequest ( $url, $method, $parameters, $multi = false ) : string |
Format and sign an OAuth / API request |
|
post ( $url, $parameters = [], $multi = false ) : mixed |
POST wrapper for oAuthRequest. |
|
requestTokenURL ( ) |
|
|
request_with_uid ( $url, $uid_or_name = null, $page = false, $count = false, $cursor = false, $post = false ) |
|
|