iugo
V2EX  ›  反馈

为什么无法绑定twitter?

  •  
  •   iugo · Aug 21, 2010 · 5403 views
    This topic created in 5925 days ago, the information mentioned may be changed or developed.
    http://www.clian.net/ 2.3.9

    其他的一切都好。然后我注册了twitter API 。

    Application Type: Browser
    Default Access type: Read & Write
    Use Twitter for login: Yes

    然后在程序 config.py 修改

    if os.environ['SERVER_SOFTWARE'] == 'Development/1.0':
    twitter_consumer_key = '我写了Consumer key'
    twitter_consumer_secret = '我写了Consumer secret'
    else:
    twitter_consumer_key = '和上面一样'
    twitter_consumer_secret = '和上面一样'

    可是绑定的时候,在twitter上选择允许后,直接跳到

    http://www.clian.net/?oauth_token=Es9oI26zZMZyH5EDRWBIw6chtbK4HKQ0qgFTA4lLU
    3 replies  •  1970-01-01 08:00:00 +08:00
    Livid
    Livid
    MOD
    PRO
    Aug 21, 2010
    1
    你的 callback 地址要设置为

    http://www.clian.net/twitter/oauth
    iugo
    iugo
    OP
    Aug 21, 2010
    2
    @Livid 没问题了。谢谢啊。
    Livid
    Livid
    MOD
    PRO
    Aug 21, 2010
    3
    :) 祝使用愉快。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4798 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 03:14 · PVG 11:14 · LAX 19:14 · JFK 22:14
    ♥ Do have faith in what you're doing.