About the access_token request


Hello, I am currently implementing a Sign In With Twitter functionnality, I managed to deal with the request_token but I’m stuck with the access_token.
My url :


It works well if I copy/paste the link in a browser, but I always get a
" Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101 "

Do you have any idea ?


You’ll find the entire process easier to manage if you use HTTP headers instead of query string parameters for auth.

Keep in mind also that you’re using a retired URL. You want https://api.twitter.com/oauth/access_token (and the api subdomain for all requests in this process).