What is the full URL you're redirected to?

On Wed, Jul 15, 2009 at 1:22 AM, widget develop <widgetdeve...@gmail.com>wrote:

>
> Thanx Eric ......but same error i am getting on IE i.e.
> The page you have requested cannot be displayed. Another site was
> requesting access to your Google Account, but sent a malformed
> request. Please contact the site that you were trying to use when you
> received this message to inform them of the error.
>
> Thanx
> Ajay
>
> On Jul 15, 11:46 am, Eric Bidelman <api.e...@google.com> wrote:
> > Try following this example:
> http://gdatatips.blogspot.com/2008/12/using-javascript-client-library...
> >
> > <http://gdatatips.blogspot.com/2008/12/using-javascript-client-library..
> .>There's
> > also documentation here:http://code.google.com/apis/gdata/client-js.html
> >
> > That said, I'm not 100% sure the gmail atom feed with work
> > with the JS client.
> >
> > <http://code.google.com/apis/gdata/client-js.html>Eric
> >
> > On Tue, Jul 14, 2009 at 10:51 PM, widget develop <
> widgetdeve...@gmail.com>wrote:
> >
> >
> >
> > > Hi All,
> > > I tried to login gmail with userid and password ,but i am unable to
> > > login ,can you please solve this problem?
> > > My code is :
> >
> > > <html>
> > >        <head>
> > >                <meta http-equiv="Content-Type" content="text/html;
> > > charset=utf-8">
> > >                <title>GmailUI</title>
> > >        </head>
> > >        <script type="text/javascript" src="http://www.google.com/
> > > jsapi"></
> > > script>
> > >        <script type="text/javascript">
> > >         google.load('gdata', '1');
> > >             google.setOnLoadCallback(logMeIn);
> > >        google.accounts.user();
> > >        function logMeIn() {
> > >          var token = google.accounts.user.login('http://
> > > userid:passw...@gmail.google.com/gmail/feed/atom','http://
> > >www.gmail.com');
> > >          alert("Value is:",token);
> > >        }
> > >        function onLoadNotify(){
> > >                alert("Page laoded");
> > >        }
> > >        </script>
> > >        <body onload="onLoadNotify();">
> > >        <input type="button" value ="Login" onclick="logMeIn();"/>
> > >        </body>
> > > </html>
> >
> > > Thanx & Regards
> > > Ajay
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to