V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
cute

Upgrade Twitter API

  •  
  •   cute · Mar 26, 2012 · 9542 views
    This topic created in 5159 days ago, the information mentioned may be changed or developed.
    https://github.com/cute/picky

    请在后台设置:

    Consumer Key
    Consumer Secret
    Access Token Key
    Access Token Secret
    1 replies    1970-01-01 08:00:00 +08:00
    cute
        1
    cute  
    OP
       Mar 26, 2012   ❤️ 1
    类似这种:

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

    可以使用Python的Decorators.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3222 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 14:18 · PVG 22:18 · LAX 07:18 · JFK 10:18
    ♥ Do have faith in what you're doing.