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

Upgrade Twitter API

  •  
  •   cute · Mar 26, 2012 · 9524 views
    This topic created in 5154 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   ·   3209 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 13:26 · PVG 21:26 · LAX 06:26 · JFK 09:26
    ♥ Do have faith in what you're doing.