Bruce Wells
Bruce Wells
PS. An example of what could be the cause of the token not to refresh is some sort of PHP runtime error in your redirect URL. I have seen that...
Yes. You will need to refresh the token at some point. Not sure how long that is, but it will need to be done. Set up a cron job to...
I think you have a classic race condition in your code. Since you don't know when a web request came come in, it is possible that one request for a...
I don't have access to my laptop for a few days, so I can't give a specific answer right now, but the library uses Guzzle. So I would look at...
Closing as no further reporting on this issue.
What API endpoint are you using? I suspect you will need to authorize separately from your user interface. Once you authorize, save the access tokens off in your database. Use...
First, you can't use local host with Constant Contact, as OAuth2 needs to call back to your website and it can't do that with localhost. You will need to test...
Glad you find the library helpful. I had the same issues as you, OAuth2 (WTF) and just dealing with JSON and APIs is a PITA. This package shields you from...
Yes, this is the basics of what you need to do. Remember to periodically refresh the tokens. I would also store the keys in a local file and not check...
The code was written for 8.0 and I have no interest in back porting it. I would suggest you clone the repo and then run [Rector](https://packagist.org/packages/rector/rector) on it. You should...