Nobien A nerd blog about nerdy things by … nerdy guys?

31Oct/072

AS3BloggerLib v0.1.3 Update

Today I updated the AS3BLoggerLib project. Recently I realized that I wasn't handling service responses in a good way. Previously, I was assuming that when the URLLoader's COMPLETE event was dispatched that the service call was successful. This obviously is not the case. Now a simple check on the HTTP status code ensures that a BloggerService event is dispatched only when a successful call has been made. Otherwise, an ErrorEvent is dispatched with the message from the server.

I still have yet to receive feedback from anyone concerning this library. I know very few people have downloaded it, but if you have, and if you've attempted using it all, I'd love to hear from you.

Comments (2) Trackbacks (0)
  1. Hi Nobien,

    Thanks for the great work you did on Blogger AS3 API!
    But for the moment I am not able to pass the first step… authentification :)

    Here is my code for authentification:

    var account:AccountsService = new AccountsService(); account.addEventListener(AccountsEvent.AUTH_FAILURE, authFailed);
    account.addEventListener(AccountsEvent.AUTH_GET_TOKEN, authGetToken);
    account.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    account.clientLogin.authenticate(“myemail@gmail.com”, “mypassword”, “blogger”, “bl1234″, ClientLogin.GOOGLE);

    AUTH_FAILURE event is always triggered with the error “BadAuthentication”, but my credentials are working fine… it’s not a typo :)

    Thanks for your help!

  2. Hello,

    I’ve downloaded the library for a project I’m working on at the moment, but there are things that puzzle me. There is a big chance that the error is on my side, but I’m suspecting some bugs in the library too. I’ll need to look into source to be sure, but it would be really nice if I could contact you by email or for a quick conversation over some kind of IM.

    Thanks in advance, Matthew


Leave a comment

(required)

No trackbacks yet.