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

Upgrade Twitter API

  •  
  •   cute · 2012-03-26 12:48:39 +08:00 · 8324 次点击
    这是一个创建于 4386 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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   ·   我们的愿景   ·   实用小工具   ·   5417 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 06:48 · PVG 14:48 · LAX 23:48 · JFK 02:48
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.