I am student and recently doing my thesis.
I have a problem with twitter login using Visual Studio 2012 . I get error 401.
Also, when I create a new application on Twitter, I don’t know what should I write in Website* field.
I’ve tried http://localhost:port/ doesn’t work . Also, http://127.0.0.1:port/ doesn’t work too…
Got the solution
The problem caused by ( CallBackURL) which was empty.
But now I just added the URL for my application ( http://127.0.0.1:port/ ) and I used the same URL for Website … solved my Problem :))
Note: http://127.0.0.1:port/ => port is vary accourding to your application in visual studio
Ex: http://127.0.0.1:1234/, http://127.0.0.1:4533/… etc