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://www.google.com/calendar/feeds/&next=https%3A%2F%2Fna5.salesforce.com%2Fservlet%2Fservlet.Integration%3Flid%3D01N700000002D8n%26enc%3DUTF-8%26ic%3D1&hd=default
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
-~----------~----~----~----~------~----~------~--~---