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

由于 Weibo SDK 升级, 这个项目的代码已经不能发微博了. #17

Open
OneSecure opened this issue Jul 26, 2017 · 1 comment

Comments

@OneSecure
Copy link

OneSecure commented Jul 26, 2017

如题, 微博 SDK 已经禁用了 update 和 upload 命令, 而是改用 share 命令. 望抽点时间跟上. 先谢过了.

@zzy131250
Copy link

@OneSecure 你好,我尝试了一下,还是可以发送的,只要改变相应的url就好了,比如:

f = open('avatar.png', 'rb')
c.post('statuses/share', status='new avatar!', pic=f)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants