How to test the twitter API locally?

前端 未结 7 1867
南笙
南笙 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:07

    1. You can use 127.0.0.1 instead of localhost.

    2. You can authorize your app as many times as you like from the same twitter account without the necessity to revoke it. However, the authenticate action will only prompt for Allow/Deny once and all subsequent authenticate requests will just pass through until you revoke the privilege.

提交回复
热议问题