V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
cute
V2EX  ›  Project Picky

Upgrade Twitter API

  •  
  •   cute · 2012-03-26 12:48:39 +08:00 · 8352 次点击
    这是一个创建于 4411 天前的主题,其中的信息可能已经有所发展或是发生改变。
    https://github.com/cute/picky

    请在后台设置:

    Consumer Key
    Consumer Secret
    Access Token Key
    Access Token Secret
    1 条回复    1970-01-01 08:00:00 +08:00
    cute
        1
    cute  
    OP
       2012-03-26 12:51:27 +08:00   ❤️ 1
    类似这种:

    self.session = Session()
    if CheckAuth(self) is False:
    return DoAuth(self, '/twitter')

    可以使用Python的Decorators.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5795 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 02:17 · PVG 10:17 · LAX 19:17 · JFK 22:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.