You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess I more leaving this here in case anyone else runs into this problem.
I can't lay my finger on exactly what is causing the problem I'm having, but here is what happens.
From the command line I have the whole thing working just fine, I re-implemented everything as a web call from PHP and the access tokens are expired as soon as I make a call for them.
I'm not sure if I missed part of the set up, or something else, but my solution was to
Edit the database and set expires in the oauth.oauth_access_tokens table to a varchar (20) (anything over 10 should work).
Edit Pdo.php and comment out the "$expires = date('Y-m-d H:i:s', $expires);" lines, and comment out the line "$token['expires'] = strtotime($token['expires']);".
This removes all the unnecessary (from what I saw, but maybe I missed something) time stamp to time string conversions, and solves my problem.
Hope this helps anyone else that had this issue.
The text was updated successfully, but these errors were encountered:
I guess I more leaving this here in case anyone else runs into this problem.
I can't lay my finger on exactly what is causing the problem I'm having, but here is what happens.
From the command line I have the whole thing working just fine, I re-implemented everything as a web call from PHP and the access tokens are expired as soon as I make a call for them.
I'm not sure if I missed part of the set up, or something else, but my solution was to
This removes all the unnecessary (from what I saw, but maybe I missed something) time stamp to time string conversions, and solves my problem.
Hope this helps anyone else that had this issue.
The text was updated successfully, but these errors were encountered: