Twitter oAuth callbackUrl - localhost development

后端 未结 17 1373
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-27 10:21

Is anyone else having a difficult time getting Twitters oAuth\'s callback URL to hit their localhost development environment. Apparently it has been disabled recently. http:

17条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-27 11:20

    Use http://smackaho.st

    What it does is a simple DNS association to 127.0.0.1 which allows you to bypass the filters on localhost or 127.0.0.1 :

    smackaho.st. 28800 IN A 127.0.0.1

    So if you click on the link, it will display you what you have on your local webserver (and if you don't have one, you'll get a 404). You can of course set it to any page/port you want :

    http://smackaho.st:54878/twitter/callback

提交回复
热议问题