OK, so when I’m developing locally on Windows using WAMP, I am able to access the API with success. No issues.
However, when I deploy the website on a live server, I have problems with authentication.
- Locally, the website is at: http://localhost/
- Live, the website is at a subdomain. Example: http://myapp.example.com
When live, making a POST to https://api.twitter.com/oauth/request_token, I now get a 400, with no response body.
How can this possibly be? If the OAuth signature is proven to construct properly, why would it break live?