I have been trying to access the opensocial api from the context of
XUL/Javascript. For this I tried accessing their ClientLogin interface
which normally works with other services. It is giving
BadAuthentication error when I set the service as ot. Btw ot is
service type for opensocial
http://code.google.com/apis/opensocial/docs/gdata/people/developers_guide_protocol.html#client_login
I tried the same interface using cl (calendar) and writely (google
docs) services and it returned proper sid, lsid, auth
information.Anybody else also facing same issue..or knowing the
solution?
You can confirm by copy pasting the following html and using it to
test the ClientLogin interface
<html>
<body>
<form action="https://www.google.com/accounts/ClientLogin"
method="POST">
<input type="hidden" name="accountType" value="HOSTED_OR_GOOGLE"/>
Email Address : <input type="text" name="Email" />
<p/>
Password : <input type="password" name="Passwd" />
<p/>
Source : <input type="text" name="source" />
<p/>
Service : <input type="text" name="service"/>
<p/>
<input type="submit"/>
</form>
</body>
</html>
On Nov 3, 9:16 am, Arun Tahlan <aruntah...@gmail.com> wrote:
> Hi All
>
> I have been trying to access the opensocial api from the context of
> XUL/Javascript. For this I tried accessing their ClientLogin interface
> which normally works with other services. It is giving
> BadAuthentication error when I set the service as ot. Btw ot is
> service type for opensocial
>
> http://code.google.com/apis/opensocial/docs/gdata/people/developers_g...