Even I am getting the same error! Why aren't the dev folks responding?
Their API's these days seem to suck a lot and very unstable - their
sandbox.orkut.com was down a few days back not allowing me to create
an orkut app. Are the devs listening?  Anyone got a fix to the
problem?

thanks
viv

On Oct 24, 4:26 am, Samuel Park <[email protected]> wrote:
> I'm getting the following error when I follow the javascript contacts
> API documentation.
> "
> Error: Request via script load timed out. Possible causes: feed URL is
> incorrect; feed requires authentication
> "
> I found an e-mail thread with similar concerns but there was no answer
> provided.
> Hopefully somebody figured out an answer.
>
> Following is the source code. It's pretty much straight from the
> contacts API.
>
> <html>
>     <head>
>     <script type="text/javascript" src="http://www.google.com/jsapi";>
> </script>
>         <script src="http://jqueryjs.googlecode.com/files/
> jquery-1.3.2.min.js"></script>
>         <script src="../js/domination.js"></script>
>         <script src="./chooseinvites.js"></script>
>     <script type="text/javascript">
>     var contactsService;
>
>     var logMeIn = function() {
>         var scope = "http://www.google.com/m8/feeds";;
>         var token = google.accounts.user.login(scope);
>     };
>
>     var setupContactsService = function() {
>           contactsService = new google.gdata.contacts.ContactsService
> ('circuspop-1.0');
>     };
>
>     var getMyContacts = function() {
>           var contactsFeedUri = 'http://www.google.com/m8/feeds/contacts/
> default/full';
>           var query = new google.gdata.contacts.ContactQuery
> (contactsFeedUri);
>
>           // Set the maximum of the result set to be 5
>           query.setMaxResults(5);
>
>           contactsService.getContactFeed(query, handleContactsFeed,
> handleError);
>         };
>
>         var handleError = function(error){
>                 alert(error);
>         };
>
>         var handleContactsFeed = function(result) {
>           var entries = result.feed.entry;
>
>           for (var i = 0; i < entries.length; i++) {
>             var contactEntry = entries[i];
>             var emailAddresses = contactEntry.getEmailAddresses();
>
>             for (var j = 0; j < emailAddresses.length; j++) {
>               var emailAddress = emailAddresses[j].getAddress();
>               alert('email = ' + emailAddress);
>             }
>           }
>         };
>
>     var initFunc = function(){
>         setupContactsService();
>         logMeIn();
>         getMyContacts();
>     };
>
>     google.load("gdata", "2.x", {packages: ["contacts"]});
>
>     </script>
>     </head>
>     <body>
>         <img src="art.gif"/></img>
>         <script type="text/javascript">
>         google.setOnLoadCallback(initFunc);
>         </script>
>     </body>
> </html>
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to