How to test the twitter API locally?

前端 未结 7 1889
南笙
南笙 2021-02-05 09:34

I\'m trying to write a web application that would use Twitter via OAuth.

  1. I run my local server as \'localhost\', so I need the callback URL to be something like

7条回答
  •  渐次进展
    2021-02-05 10:00

    In answer to (1), see this thread, in particular episod's replies: https://dev.twitter.com/discussions/5749

    It doesn't matter what callback URL you put in your app's management page on dev.twitter.com (as long as you don't use localhost). You provide the 'real' callback URL as part of your request for an OAuth token.

提交回复
热议问题