rapidwebltd / php-google-contacts-v3-api

👥 PHP library for the Google Contacts API (v3)
MIT License
102 stars 64 forks source link

Error 400 authorise-application.php generated link #57

Closed lrcvrino closed 6 years ago

lrcvrino commented 6 years ago

When I follow the generated link give me that error.

error400

.config.json file: { "clientID": "1038blabla05-fekamkh9blablablal2s9r9e2fj9a.apps.googleusercontent.com", "clientSecret": "QA-FiblablablaANYXnIH", "redirectUri": "redirect-handler.php", "developerKey": "", "refreshToken": "" } I tired in windows 10 with xampp and before into a raspberry pi 3 so i understand that I make some wrong. Thanks.

DivineOmega commented 6 years ago

The redirectUri variable should be a full (publicly accessible) URL to the redirect-handler.php.

If you're not able to make the page publicly accessible, consider using our new Google People API, which handles this authorization process much more elegantly, and lets you manipulate contacts much more easily.

lrcvrino commented 6 years ago

I feel so stupid! thanks. Of course I will use the new Google People API. Thansks so much

DivineOmega commented 6 years ago

Glad to help. :)