Hi All,

I have a case where I have two Google account using the same email,
i.e. on is hosted on Google Apps and one is a Google Account by that
email.

As I understand, I also have 2 Google Docs (Spreadsheet) accounts for
the same email. As I used GData API using Zend library, I understand
that I can have a  forced login mechanism to use Google account
instead of Google Apps account.

The tips for the technique can be found here :
http://gdatatips.blogspot.com/2008/10/force-php-to-use-google-account-in.html.

The code snippet is below

========================================================
$serviceName = Zend_Gdata_Spreadsheets::AUTH_SERVICE_NAME;
$username = "[EMAIL PROTECTED]";
$pass = "password";
$accountType = "GOOGLE";


$client = Zend_Gdata_ClientLogin::getHttpClient($username, $pass,
$serviceName, null, Zend_Gdata_ClientLogin::DEFAULT_SOURCE, null,
null, Zend_Gdata_ClientLogin::CLIENTLOGIN_URI, $accountType);

$gdClient = new Zend_Gdata_Spreadsheets($client);
========================================================

But what I find is, my code is logged in into Google Apps instead of
Google account. Is it a bug ? Can someone confirm on this ?

Thanks,

Feris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to