Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
We had to temporarily close one of our support sites. You may experience a longer than normal wait time when calling into our support center. Remember to check out all of our available support resources including live chat for the quickest response.
I found the reason myself. It is from redirect uri paramter. I used correct redirect uri, but with some parameter. In this time, it was not working. I fixed it by removing parameter. Thanks
... View more
Hello I am working with Laravel, and I am using PHP API SDK - https://github.com/constantcontact/php-sdk. And also I see this - http://developer.constantcontact.com/docs/authentication/oauth-2.0-server-flow.html. Now I am trying to get access_token. I saw this - https://github.com/constantcontact/php-sdk/blob/master/examples/getAccessToken.php, I am working based on this. From $oauth -> getAuthorizationUrl(); , it is successfully redirected to redirect_uri page. And also i see code in url parameters there. But when it called getAccessToken(), it is failed with exception 'Unauthorized' This is my code. $oauth = new CtctOAuth2 ( $api_key , $api_secret , $redirect_uri ); $accessToken = $oauth -> getAccessToken ( $code ); It is so simple. But it is failed. Please let me know why it failed with 'Unauthorized', and how can I solve this? Thanks much to anyone help!
... View more