Hi All,
I cannot figure out how to use OAuth for authenticate my request.

I just want to retrieve the portfolios from the user that is at the
moment visiting his iGoogle page.

I am using something like the below, but I consistently get error 500:

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

function fetchData() {

    var callback = function(response) {
      if (response.oauthApprovalUrl) {...      }
      else if (response.feed) {   .. }
    else {
      alert("3: here I get error 500"+response);

      }
    };

var portfolioFeedUri = 'http://finance.google.com/finance/feeds/
default/portfolios';
financeService.getPortfolioFeed(portfolioFeedUri, callback, callback);




The complete short code is at

http://hosting.gmodules.com/ig/gadgets/file/107588307255203123138/test.xml


Anyone has any idea?

-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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-Gadgets-API?hl=en.

Reply via email to