6 messages in com.googlegroups.bloggerdev[bloggerDev] Re: Authenticating to th...| Subject: | [bloggerDev] Re: Authenticating to the Blogger service using ActionScript![]() |
|---|---|
| From: | Trevor Johns (tjo...@google.com) |
| Date: | 07/16/2008 01:59:49 PM |
| List: | com.googlegroups.bloggerdev |
Cesco, We currently do not support cross-domain requests to Google Accounts from Flash. There is currently an issue filed against this here:
http://code.google.com/p/gdata-issues/issues/detail?id=406
You may be able to work around this by proxying requests through your own domain, however.
-- Trevor Johns
On 7/16/08, Cesco <uce...@gmail.com> wrote:
Hi guys,
I'm trying to get authenticating to the Blogger service, here is my code:
var httpRequest:HTTPService = new HTTPService(); var variables:URLVariables = new URLVariables();
httpRequest.useProxy = true; httpRequest.url = "https://www.google.com/accounts/ClientLogin"; httpRequest.method = URLRequestMethod.POST;
httpRequest.addEventListener(ResultEvent.RESULT, onResult); httpRequest.addEventListener(FaultEvent.FAULT, onFault);
variables.Email = <my-e-mail-here> variables.Passwd = <my-password-here> variables.service = "blogger"; variables.source = "exampleCo-exampleApp-1";
var request:URLRequest = new URLRequest(url);
request.method = URLRequestMethod.POST;
request.data = variables; httpRequest.request = request;
httpRequest.send();
But every time I'm getting following error:
Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: https://www.google.com/accounts/ClientLogin"]. URL: https://www.google.com/accounts/ClientLogin
Does anyone knows what's the problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Blogger Data API" group.
To post to this group, send email to blog...@googlegroups.com
To unsubscribe from this group, send email to
blog...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bloggerDev?hl=en
-~----------~----~----~----~------~----~------~--~---




