Hi Sebastian,
Here is an example of AuthSub using Libcurl:
http://gdatatips.blogspot.com/2008/07/authsub-using-phps-libcurl.html
You should use Client Login or AuthSub, I see both in your code. For
Google accounts that are not in Google Apps you need the AuthSub token
to get authorization from the user.
--Julian
On Aug 15, 12:58 pm, sebastian de comocomo <
sebast...@comocomo.com>
wrote:
> Hi Julian,
>
> I click to get the token:
>
>
https://www.google.com/accounts/AuthSubRequest?scope=http%3A%2F%2Fwww...
> .com%2Fm8%2Ffeeds%2F&session=1&secure=0&next=http%3A%2F%2Fallmybookings.com/
> viewcontacts.php&hd=default
>
> The token sends me to this site, I specified:
>
>
http://allmybookings.com/viewcontacts.php?token=CK3iteHqChDYwMin-_____8B
>
> Which has this code:
>
>
http://paste-it.net/public/wba38a6/
>
> I get a white page,
>
> I can't use ZEND, only curl.
>
> If possible, I'd like to get peole, withough token. Like if I was browsing
> through facebook, finding friends, is this possible?
>
> What am I doing wrong?
>
> Thanks
> Sebastian
>
> On 14/08/09 16:30, "Julian (Google)" <
j...@google.com> wrote:
>
>
>
> > Hi,
>
> > You can use cURL to make calls to the Contacts API Protocol directly:
> >
http://code.google.com/apis/contacts/docs/3.0/developers_guide_protoc...
>
> > Maybe this old thread can help:
> >
http://groups.google.com/group/google-contacts-api/browse_thread/thre...