Google Analytics OAuth2: How to solve error: “redirect_uri_mismatch”?
问题 I'm trying to get this example to work: https://developers.google.com/analytics/devguides/config/mgmt/v3/quickstart/web-php#enable The error I'm getting is "Error: redirect_uri_mismatch" . In order to install the google api resources, I used composer with this command: php composer.phar require google/apiclient:^2.0.0@RC This installed the "vendor" folder in my root site folder. My index.php and oauth2callback.php files are located in the "public_html" folder. Here's a screenshot of my error