Hi. With your sample files, I have configured the apikey with the Redirect URI, run the sample, click the "Get Access Token" button, a login appears, grant access to the application name defined in the apikey, click in "Grant Access". Tracking the HTML source code for this 'grant access' page, this contains data that seems to be ok, for example: <input name="preregistered_redirect_uri" value="http://www.myserver.com/socialn2/test/ccontact_sdk/examples/getAccessToken.php" type="hidden"/> This is the same link for the published page where the process started. Is the same Redirect URI configured in the apikey. The process navigates to http://www.myserver.com/socialn2/test/ccontact_sdk/examples/getAccessToken.php?code=nIRSObZgeQcGjT0SKHcNkSIixYE&username=myusernam So it seems to be ok, but this page displays an error "Error: redirect_uri_mismatch: Redirect URI mismatch" when the next code is reached: $accessToken = $oauth->getAccessToken($_GET['code']); The link already contains a code, so it should work. Could you explain me what's going on?
... View more