Entwickler-Ecke

Internet / Netzwerk - Google Calendar Client Login


haentschman - So 05.08.12 19:00
Titel: Google Calendar Client Login
Hallo alle...

ich verstehe die Welt nicht mehr... :roll:

Ein https://www.google.com/accounts/ClientLogin via Indy mit den entsprechenden Parametern liefert normalerweise als Response so etwas zurück:
Zitat:
HTTP/1.0 200 OK
Server: GFE/1.3
Content-Type: text/plain

SID=DQAAAGgA...7Zg8CTN
LSID=DQAAAGsA...lk8BBbG
Auth=DQAAAGgA...dk3fA5N

Das hat auch die Tage funktioniert. Dann habe ich meinen Testcode vernünftig formatiert und in einen Thread gepackt... soweit so gut. Ich bekomme ein
Zitat:
HTTP/1.0 200 OK
Server: GFE/1.3
Content-Type: text/plain

SID=DQAAAGgA...7Zg8CTN
LSID=DQAAAGsA...lk8BBbG

zurück. Wie ihr sehen könnt fehlt die "Auth" Zeile. Das ist die Authentifikation für nachfolgende Get´s zum Kalender.

Irgend jemand eine Idee wer die Zeile geklaut hat ? :roll:

Google Dokumentation https://developers.google.com/accounts/docs/AuthForInstalledApps?hl=de

Weil es sehr speziell ist auch in der:
DT: http://forum.delphi-treff.de/showthread.php?31868-Google-Calendar-Client-Login&p=230451#post230451
DP: http://www.delphipraxis.net/169694-google-calendar-client-login.html


haentschman - Mo 06.08.12 21:15

Lösung: Parameter sind Case Sensitive !
Ausführlich siehe Link DT. 8)