-
Notifications
You must be signed in to change notification settings - Fork 0
CAQ/SinaWeiboAuth2
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Sina Weibo helper for OAuth 2.0 -- Automatically renews the token using MyAuth2. Weibo API is from http://code.google.com/p/sinaweibopy/ You need to first create a file <app id>.token, such as "12345.token", a one-line file, containing: <app id> \t <app secret> \t <auth call back url> \t <authed token> \t <expired time> \t <user name> \t <password> For initialization, the <authed token> can be anystring. And set <expired time> to -1. Example: ------ from myauth2 import MyAuth2 mauth = MyAuth2('your app id') # get public timeline response = ma2.client.get.statuses__public_timeline(count=20) ------ Author: CAQ9 @ weibo.com
About
A helper for Sina Weibo's OAuth2
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published