Search code examples
c#asp.nettwittertwitterizer

Creating tweet with Twitterizer raises WebException 401


I am using Twitterizer, and am trying to get my ASP.Net app to upload reported traffic incidents to the official Twitter account.

I have looked at similar questions at SO, and the I tried all the recommendations (specify call-back url, check for careless errors and ensure the app has Read-Write permissions), but I still cannot solve the problem. I have some screenshots of the settings and code below. The callback URL does not exist, but is made up. Any help will be greatly appreciated.

enter image description here enter image description here


Solution

  • I came back to this problem, this time I tried regenerating my API keys, and now it is working. Perhaps my previous keys were duds.