Skip to content
This repository was archived by the owner on May 2, 2019. It is now read-only.
This repository was archived by the owner on May 2, 2019. It is now read-only.

在API使用后,再次OAuth,不能得到API地址 #9

@leoleozhu

Description

@leoleozhu
  • 在一个API地址没有被客户端使用的情况下,多次OAuth,可以反复生成新的API地址。这是正常的预期。
  • 当一个客户端使用了最近一次生成的API之后,再次尝试OAuth,不能得到新的(或者之前的)API地址。之前的API地址可以继续使用。
    在Twitter设置中,将Twip的权限Revoke,再次尝试OAuth,不能得到新的(或者之前的)API地址。之前的API地址不能继续使用(由于已经Revoke)

影响:
忘记API地址,或者Revoke权限后,该账户就不能使用此twip应用。

服务器的log

2013-07-03T05:07:34.778015+00:00 heroku[router]: at=info method=GET path=/twip/oauth/start/ host=twip-dev.herokuapp.com fwd="165.170.128.65" dyno=web.1 connect=3ms service=229ms status=302 bytes=399
2013-07-03T05:08:01.681116+00:00 heroku[router]: at=info method=GET path=/twip/oauth/callback/?oauth_token=oauth_token_here&oauth_verifier=oauth_verifier_here host=twip-dev.herokuapp.com fwd="165.170.128.65" dyno=web.1 connect=3ms service=312ms status=302 bytes=219
2013-07-03T05:08:02.239441+00:00 heroku[router]: at=info method=GET path=/twip/ host=twip-dev.herokuapp.com fwd="165.170.128.65" dyno=web.1 connect=2ms service=35ms status=200 bytes=2052

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions