Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthURL = "https://api.weibo.com/oauth2/authorize" AccessTokenURL = "https://api.weibo.com/oauth2/access_token" UserInfoURL = "https://api.weibo.com/2/users/show.json" )
Variables ¶
View Source
var Logging bool
Functions ¶
This section is empty.
Types ¶
type OAuth ¶
func NewWeiboOAuth ¶
func (*OAuth) GetAccessToken ¶
func (oauth *OAuth) GetAccessToken(code string) (*OAuthToken, error)
func (*OAuth) GetAuthorizationURL ¶
type OAuthToken ¶
Click to show internal directories.
Click to hide internal directories.