Answer the question
In order to leave comments, you need to log in
What is the correct Twitter callback URL?
I'm writing a small client for Twitter in C# that sends tweets (and that's it).
The essence of the problem area: the user enters a login / password, then we log in using the OAuth 2.0 protocol. At the same time, as far as I know, you need to open a browser with a callback page, where a PIN code will be displayed, which you must enter manually into your program to complete the authorization procedure.
During the test run, there were problems with the page.
Firstly, I don’t have my own website, and leaving the field empty, as it is written in the tips on the application registration page (leave this field blank), is not given to me by Twitter itself, it says that the format is incorrect.
Secondly. Tried writing localhost - same warning. I tried 127.0.0.1 - it redirects, but then it displays a 404 error (in fact, where does a page like domainname / oauth?appid=... etc. come from on my computer), indicated with port 8080 - the same. Finally, he pointed out twitter.com himself - they simply did not let him in.
So what do you need to specify in the Callback URL field in the application settings in order to get a pin? Thanks in advance for your reply.
ps sorry to be rude, if any of you have a working twitter app, could you please provide your callback address for me to put in my settings? (but this is a last resort). Thank you.
Answer the question
In order to leave comments, you need to log in
Usually, when writing a URL, you need to write it together with http://, otherwise the type of the URL is not determined.
Make sure website and callback url point to the same site.
Like
website: www.example.com
callback: www.example.com/twitter/callback
Create a free site on Azure...
https://azure.microsoft.com/en-us/pricing/details/...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question