The remote server returned an error: (401) Unauthorized. Twitter oAuth

后端 未结 2 1578
耶瑟儿~
耶瑟儿~ 2021-02-14 09:44

I am trying to make work twitter oAuth with twitterizer, but I am unable.

I am getting the following error:

The remote server returned an error: (401) Unau

相关标签:
2条回答
  • 2021-02-14 10:05

    I had this same problem and fixed it by adding a "Callback URL" in the Twitter App Settings page. I didn't have my domain name yet so I simply added a unused domain name like: http://www.website.com. The Twitterizer request call immediatly started working for me.

    Fissh

    0 讨论(0)
  • 2021-02-14 10:22

    Make sure your application is set as a web application on the development portal. For the callback address there, make sure you use an incorrect address (like your application's homepage), then specify the real address at runtime.

    Web applications can use pin-based authentication, but desktop applications cannot use the web flow.

    0 讨论(0)
提交回复
热议问题