i've searched this discussion group for anything about using Google's
different API for various Google services like Google Finance or
Calendar but didnt seem to find anything

I'm wondering, how can you use Google's JS API inside an extension? I
tried to put something together that would pull positions from a
Finance portfolio, but in order to do so, you must authenticate your
account, which involves redirecting you to site where google can allow
you to sign in and allow access.

however, this is supposed to redirect you back to the original site
with your session token, which isn't really possible since the "site"
is a locally hosted HTML embedded in Chrome.

so when I try to do:

google.accounts.user.login("http://finance.google.com/finance/feeds";);

google says that my "next" parameter is bad (since its something like:
"file:///aaaaaaaaaa....my_toolstrip.html") which makes sense.

is there a way to get around this so that i can use stored credentials
(cookies) so a user could go login on Google Finance, and the Chrome
extension could then use the credentials (or session id/token) that
Chrome saves?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" 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/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to