Because there is no way for the Feeds API to authenticate user credentials,
you won't be able to use the Feeds API to pull the GMail inbox feed. You
could, however, use your Java application to build a proxy.

jg

On Wed, Nov 28, 2012 at 10:57 PM, Coleman Ng <[email protected]> wrote:

> Since Google Inbox Feed https://mail.google.com/mail/feed/atom requested
> to enter username and password.
>
> In Java, I can use this way:
>
> URL feedUrl = new URL("https://mail.google.com/mail/feed/atom";);
> HttpURLConnection httpcon = (HttpURLConnection)feedUrl.openConnection();
> String encoding = new
> sun.misc.BASE64Encoder().encode("username:password".getBytes());
> httpcon.setRequestProperty ("Authorization", "Basic " + encoding);
>
>
> And now I would like to use only Javascript with Google Feed API to
> connect the Google Inbox Feed.
> Are there any ways to do this?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google AJAX APIs" group.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> To view this message on the web, visit
> https://groups.google.com/d/msg/google-ajax-search-api/-/HyqPQs-hi6gJ
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
>



-- 
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
Church!
http://www.debraheightswesleyan.org

-- 
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
http://groups.google.com/group/google-ajax-search-api?hl=en_US
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to