V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · 5816 views
    This topic created in 3480 days ago, the information mentioned may be changed or developed.
    不用登录可以吗?具体怎么实现?利用微博 api ?看不太懂,就大神指教。
    8 replies    2016-10-16 19:44:38 +08:00
    em70
        1
    em70  
       Oct 16, 2016   ❤️ 2
    学会用正确的姿势提问
    1. 详细描述你的需求
    2. 告诉回答者你目前已经知道哪些东西,研究到什么地方了
    3. 再说你有疑问的地方

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

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

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

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

    http://weibo.com/minipublish

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