Can you run in localhost an app that use Twitter OAuth?

后端 未结 5 1719
滥情空心
滥情空心 2021-02-13 02:50

When you edit your app settings at Twitter.com, you can asked for a return url, but you can set it to localhost/return. Can you?

I think this is useful in developing tim

5条回答
  •  独厮守ぢ
    2021-02-13 03:24

    I spent 2 days to resolve this issue you must set callbac url http: //127.0.0.1/ but it dont help me because when i start my application and request tweeter api it send request at twitter api but respone received on the for ex: http: //127.0.0.1/:2101 but in my browser url http: //localhost/:2101 and twitter api dont understand this,for this you have to manually set the browser URL http: //127.0.0.1/:2101 if u have same isue.At least for me it was the solution

提交回复
热议问题