Hi Julian,
yes the error is still there.
I am using the Google javascript client api and lifted the code
straight out of the sample:
google.load("gdata", "1.x");
google.setOnLoadCallback(initFunc);
var contactsService;
function initFunc() {
setupContactsService();
logMeIn();
getMyContacts();
}
function setupContactsService() {
contactsService = new google.gdata.contacts.ContactsService
('****');//**** = service name hidden
var handleInitError = function(e) {
alert(e.cause ? e.cause.statusText : e.message);
}
google.gdata.client.init(handleInitError);
}
function logMeIn() {
var scope = 'http://www.google.com/m8/feeds';
var token = google.accounts.user.login(scope);
}
function getMyContacts() {
var contactsFeedUri = 'http://www.google.com/m8/feeds/contacts/
default/full';
var query = new google.gdata.contacts.ContactQuery(contactsFeedUri);
query.setMaxResults(100);
contactsService.getContactFeed(query, handleContactsFeed,
handleError);
}
var handleError = function(e) {
alert(e.cause ? e.cause.statusText : e.message);
}
handleError gives this alert - "Request via script load timed out.
Possible causes: feed URL is incorrect; feed requires authentication"
all this code is being opened in a popup window on the website in a
file called google_login.php
and it was working like a charm until this error..
thanks for your help
apoorva
On Jul 20, 5:22 am, "Julian (Google)" <[email protected]> wrote:
> Hi,
>
> Are you still experimenting this error? if so, please post an example
> of the request and the error.
>
> Thanks,
> Julian.
>
> On Jul 18, 3:51 am, grasshopper <[email protected]> wrote:
>
> > I am using the contacts api for the usuall - getting a logged in
> > user's contacts.
>
> > this was working well and good 6 hours back. suddenly i get this
> > error. any pointers?
> > My url did not change and I dont why it says feed requires
> > authentication when it did not earlier..
>
> > thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Contacts API" 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-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---