Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API requests fails after first round #2

Open
clemsos opened this issue Jan 27, 2013 · 0 comments
Open

API requests fails after first round #2

clemsos opened this issue Jan 27, 2013 · 0 comments
Labels

Comments

@clemsos
Copy link
Member

clemsos commented Jan 27, 2013

Sleeping and switching tokens aren't properly working yet

page 136 extracted to coms_136
New user coming!
Traceback (most recent call last):
File "pyweibo.py", line 207, in <module>
main()
File "pyweibo.py", line 179, in main
pyweibo.getPostData(args.action, postId, filename, format)
File "C:\Pyweibo-master\Pyweibo-master\lib\Pyweibo.py", line 39, in getPostDat
a
self.weiboapi.mainLoop(command, uid, path, format)
File "C:\Pyweibo-master\Pyweibo-master\lib\weiboApi.py", line 332, in mainLoop

if self.remainHit()>0: # check rate limit
File "C:\Pyweibo-master\Pyweibo-master\lib\weiboApi.py", line 206, in remainHi
t
statu = self.client.account__rate_limit_status()
File "C:\Pyweibo-master\Pyweibo-master\lib\api\weibo.py", line 171, in wrap
raise APIError('21327', 'expired_token', attr)
lib.api.weibo.APIError: APIError: 21327: expired_token, request: account__rate_l
imit_status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant