PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV (versões anteriores) → Accès aux contacts GOOGLE
Accès aux contacts GOOGLE
Iniciado por PierrotPolo, jan., 20 2018 4:53 PM - 1 resposta
Membro registado
3 mensagems
Publicado em janeiro, 20 2018 - 4:53 PM
Bonjour
J'ai une application qui doit accéder aux contacts Google.
Via la console développeurs https://console.developers.google.com j'ai :
- Créé un projet
- Activé l'API Contact Google
- Créé un identifiant avec :
ID client : 4465...............................................spkh.apps.googleusercontent.com
Code secret du client : dksld.....................fghdgfh

J'ai déclaré
Cnx est un gglConnexion
Cnx..Email = "co................@gmail.com"
Cnx..ClientID = 4465...............................................spkh.apps.googleusercontent.com
Cnx..ClientSecret = "dksld.....................fghdgfh"

SI GglConnecte(Cnx,gglServiceContacts) = Faux ALORS
Erreur(ErreurInfo())
FIN

S'affiche la fenêtre d'Authentification





J'obtiens l'erreur 400
Error : invalid_request
Missing required parameter : client_id






Je ne vois pas ce qui cloche.
Merci pour votre aide
Membro registado
2.571 mensagems
Popularité : +222 (260 votes)
Publicado em janeiro, 21 2018 - 9:25 AM
Bonjour,

Chez moi même code aucun problème.

--
Cordialement,

Philippe SAINT-BERTIN
Géode Informatique