推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
makeitall
V2EX  ›  Python

关于新浪微博上传图片如何实现?

  •  
  •   makeitall · Oct 16, 2016 · 6237 views
    This topic created in 3693 days ago, the information mentioned may be changed or developed.
    不用登录可以吗?具体怎么实现?利用微博 api ?看不太懂,就大神指教。
    8 replies  •  2016-10-16 19:44:38 +08:00
    em70
    em70
    Oct 16, 2016❤️2
    1
    学会用正确的姿势提问
    1. 详细描述你的需求
    2. 告诉回答者你目前已经知道哪些东西,研究到什么地方了
    3. 再说你有疑问的地方

    如果这三点你还没做完,先去做了再来提问
    paradoxs
    paradoxs
    Oct 16, 2016❤️1
    2
    appkey 和 accesstoken 都要有啊... 不然你怎么传
    7sDream
    7sDream
    Oct 16, 2016❤️1
    3
    如果你会 Go 的话,可以参见我的 Rikka 的新浪微博插件的代码:

    https://github.com/7sDream/rikka/tree/master/plugins/weibo

    主要代码在 client.go 这个文件里。

    用的是微博的这个 mini 接口:

    http://weibo.com/minipublish

    你也可以自己抓包分析下。
    makeitall
    makeitall
    OP
    Oct 16, 2016
    4
    @em70 谢谢,下次一定好好研究一下再发帖子,不浪费大家时间。
    @paradoxs 哦是啊,第一次,好像还要申请。。。
    @7sDream 嗯嗯,我看看。。。
    beilun
    beilun
    Oct 16, 2016❤️1
    5
    新浪图床接口: http://picupload.service.weibo.com/interface/
    注:不能跨域
    lyog
    lyog
    Oct 16, 2016
    7
    看错,,,抱歉
    lostab
    lostab
    Oct 16, 2016 via Android❤️1
    8
    我用别人封装的库写了个,可以试用看看 http://hulu.im/u/feedback/
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3849 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 01:06 · PVG 09:06 · LAX 17:06 · JFK 20:06
    ♥ Do have faith in what you're doing.