Flex and myFeedz, no crossdomain.xml love

Posted on February 16, 2007 | 6 comments

I went ahead and signed up for an account on the new myFeedz, from Adobe labs, a social newspaper web application. After signing up and checking out my profile I noticed an API key. So I decided to go ahead and make a quick Flex application access some of the myFeedz API. This was pretty easily done with HTTPService and JSON (from the AS 3.0 libraries).

You can return posts or tag clouds from the general myFeedz site or your own profile of feeds. It seems to have been having some lag issues but it works most of the time. I created a simple search application to search for posts by tag terms. This worked fine on my local machine where there is no security issue but when I deployed it out on my server the application throws a security error.

Looking at the crossdomain.xml for the myFeedz site takes you to the homepage. So no Flex API love.

I’ll post the code any ways so if the crossdomain.xml gets fixed you can check the code. Just right click to view the source.

  • http://www.jamesward.org James Ward

    I just setup a proxy that you can try using:
    http://myfeedz.proxy.jamesward.org/

    It has a crossdomain file and proxies /api to http://www.myfeedz.com/api

    Give that a try and let me know if it works. This may not be a good idea for a production application, but it might be good enough for testing purposes.

    -James

  • http://blog.digitalbackcountry.com Ryan Stewart

    Ouch! That’s harsh about the crossdomain.xml file.

  • http://www.renaun.com Renaun Erickson

    James,

    The proxy works (as always). The works now and is live. Like I have said before it would be great to have Adobe come out with some guidlines of implementing crossdomain.xml in real world API applications (especially applications coming Adobe themselves). Sorry that might have be a little to harsh, and the truth is seeing myFeedz come out from Adobe Labs is just great! Keep it up,

    Renaun

  • http://www.myfeedz.com/ Marius

    Hi,

    We have just fixed this. Please try again and let me know if it works.

    Regards,
    Marius

  • http://www.renaun.com Renaun Erickson

    Works nicely now. Thanks for the update!

    Renaun

  • http://www.renaun.com Renaun Erickson

    My code has a typo in it, until i get around to updating it. The “form” parameter should be “from”. This is important if you are trying to do calls filter by your profile.