-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get token due to timezone #2
Labels
Comments
I'll add this to the documentation but it is really not something this library should fix. |
So in order for this library to work as expected the servers time zone has to be GMT? |
The OAuth Spec requires the timestamp be in GMT. I will explore adding a setter for the timestamp though. |
use gmdate('U') to get the current GMT time. |
Using |
Closed
This was referenced Feb 13, 2015
This was referenced Jul 2, 2016
Closed
Closed
Repository owner
locked and limited conversation to collaborators
Dec 30, 2016
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This would not return a token until I updated the timezone on my server to match the twitter server GMT which is what twitters date was set to in the CURL responses along with a 401 "Failed to validate oauth signature and token"
Reference: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/aadee92bc5c34f29?pli=1
The text was updated successfully, but these errors were encountered: