Hi anand,

It seems like AuthSub is choking on some of the urlencoded characters
in the next URL (specifically the ?, =, and &) and refusing the
parameter as invalid, which doesn't seem right.

Can you report this to the Accounts API group?

http://groups.google.com/group/Google-Accounts-API

Cheers,
-Jeff


On May 8, 2:24 pm, Anand <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to integrate Google DATA Api inside Salesforce.com. I have
> the following HTML on Salesforce side:
>
> <html>
>   <head>
> <script type="text/javascript" src="/js/functions.js"></script>
> <script src="/soap/ajax/11.0/connection.js" type="text/javascript"></
> script>
> <script src="/soap/ajax/11.0/apex.js" type="text/javascript"></
> script>
>     <script type="text/javascript" src="http://www.google.com/jsapi?
> key=ABQIAAAAVDy2dpZXLZidBX_BAuyMuhRwXTPcTNsHhT6y0Ska0kHUsVXgbxSR04EzXP5KUiK52ZJ746RcXH_ojQ"></
> script>
>     <script type="text/javascript">
>         google.load("feeds", "1");
>         google.load("gdata", "1");
>     function initialize() {
>                 var authToken = 
> google.accounts.user.login('http://www.google.com/
> calendar/feeds/');
>                 alert(authToken);}
>
>     google.setOnLoadCallback(initialize);
>
>     </script>
>   </head>
>   <body>
>     <div id="feed"></div>
>   </body>
> </html>
>
> This works fine, but on the registration page google says the "next"
> parameter is not correct. Here's the URL this is generated.
>
> https://www.google.com/accounts/AuthSubRequestJS?session=1&scope=http...
>
> I'm not sure what I'm missing here. Can some please help me out.
>
> Thanks,
> anand
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to