Getting null response on getAccessToken
Hi
Try to create an API program to access contacts on our constant contact account.
Following the OAuth2.0 Server Flow as described on your website.
First, I created the authorization request url, then retrieved the authorization code from it.
Then I passed the code to 'getAccessToken' function to get an access token. It returned null.
Not sure why I am getting null, could you help me?
Â
$code = $request->input('code');
$ccAuthorizationURL= $this->getAccessToken($code);
dump($ccAuthorizationURL);
Â
curl resource @604 â–¼ : "" : null : 0 : 0 : 0 : -1 : 0 : 0 : 0.0 : 0.0 : 0.0 : 0.0 : 0.0 : 0.0 : 0.0 : 0.0 : -1.0 : -1.0 : 0.0 : 0.0 : "" : "" : [] : 0 : "" : 0 : 0 : 0 : 0 : "" : 0 : 0 : 0 : 0 : 0 : 0 : 0 }
Â
1 reply