1 message in com.googlegroups.google-finance-apis[Google Finance APIs] can't get getPo...
FromSent OnAttachments
newbiwOct 10, 2008 9:48 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[Google Finance APIs] can't get getPortfolioFeed to workActions...
From:newbiw (aman@gmail.com)
Date:Oct 10, 2008 9:48:55 am
List:com.googlegroups.google-finance-apis

hi,

here's my code:

var financeService = new google.gdata.finance.FinanceService('GoogleInc-financejsguide-1.0');

// This callback will run when the portfolio query is complete var portfolioFeedCallback = function(result) { alert('in here!'); // An array with all of the user's portfolios var entries = result.feed.entry; var portfolioEntry = entries[0]; var portfolioTitle = portfolioEntry.getTitle().getText(); alert('Portfolio : ' + portfolioTitle); };

// FinanceService methods may be supplied with an alternate callback for errors var handleErrorCallback = function(error) { PRINT(error); }; var portfolioFeedUri = 'http://finance.google.com/finance/feeds/ default/portfolios'; alert('Retrieving a list of the user portfolios...'); financeService.getPortfolioFeed(portfolioFeedUri, portfolioFeedCallback, handleErrorCallback);

somehow, i cant seem to get any data from the feed... could someone please point out the newbie error?