0

I Need a crossdomain.xml in Yahoo! chat server

Hello.
I am a flash developer.
I am writing a simple flash chat using Adobe Flash CS3.
But there is a problem, When I want to connect my Socket to your Chat Servers (for example: 76.13.15.31:5050), there should be a crossdomain.xml on port 843 with this content:
CODE
<?xml version="1.0" encoding="UTF-8"?'>
<cross-domain-policy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFileSocket.xsd">
<allow-access-from domain="*" to-ports="5050" secure="false" />
<site-control permitted-cross-domain-policies="master-only" />
</cross-domain-policy>


Please place this file there, then I will show you power of Flash. (I am going to simulate newest version of Yahoo! Messenger with that pictures and ... in Flash)
(It is perfect and you will be happy for what you did)

Thanks a LOT.

9 Replies
  • It's an interesting suggestion, but we won't be able to do so for a couple reasons: First, the Chat servers do not have a public API or webservice. Second, we don't do crossdomain.xml files with allow="*" on any of the yahoo.com domains (for security purposes).
    0
  • QUOTE
    we don't do crossdomain.xml files with allow="*" on any of the yahoo.com domains

    Well, you cal allow it just from my domain "dogtag.ir"

    QUOTE
    (for security purposes)

    This security is just for Flash.
    I can have a socket to your Servers with PHP, C#, VB and ...!

    Please.
    I wrote hundreds lines of code! :(
    0
  • Someone Please HELP ME!
    What should I do now?
    0
  • QUOTE (masih y @ Nov 10 2008, 12:41 AM) <{POST_SNAPBACK}>
    Someone Please HELP ME!
    What should I do now?


    QUOTE (mhall6520 @ Nov 16 2008, 12:00 PM) <{POST_SNAPBACK}>
    Just my two cents worth (having been on the other end, getting requests sent TO me like this). I really do mean this as advice for you. I'm not in any way trying to put you down or anything. Just take it as some advice from someone who has worked in this industry for over 13 years.



    Okay, now that I'm done with my little lecture for the day, let's see what we can do to help you with some possible other options besides Yahoo! chat servers. If you'll tell me a little about your app (for instance, exactly what it does, what it's technical requirements are (such as why you absolutely had to use Yahoo!'s chat servers) and any other details you can think of), maybe we can find an alternative workaround in order to get your app up and running. I'm sure there are other ways to get it running without having to use Yahoo!'s chat servers. If not, then maybe I need to break out another lecture on application design and how you should never design a piece of code that can only work with one and only one specific resource (especially when you don't own that resource and aren't sure it will be available to you). After all, this is the Internet, remember? There should be hundreds of possible ways to do what you're wanting to do. We'll just have to find one that is feasible for you.

    Mike



    ---------------------------------------------------------------------
    Michael Hall
    Personal Portfolio Site: http://www.michaelwhall.info
    Includes photography, websites, digital art and music samples.
    "Downtown" CD now available for download & purchase. (http://www.michaelwhall.info/music/music.php)
    0
  • QUOTE (mhall6520 @ Nov 16 2008, 12:15 PM) <{POST_SNAPBACK}>
    Okay, now that I'm done with my little lecture for the day, let's see what we can do to help you with some possible other options besides Yahoo! chat servers. If you'll tell me a little about your app (for instance, exactly what it does, what it's technical requirements are (such as why you absolutely had to use Yahoo!'s chat servers) and any other details you can think of), maybe we can find an alternative workaround in order to get your app up and running. I'm sure there are other ways to get it running without having to use Yahoo!'s chat servers. If not, then maybe I need to break out another lecture on application design and how you should never design a piece of code that can only work with one and only one specific resource (especially when you don't own that resource and aren't sure it will be available to you). After all, this is the Internet, remember? There should be hundreds of possible ways to do what you're wanting to do. We'll just have to find one that is feasible for you.

    Mike



    ---------------------------------------------------------------------
    Michael Hall
    Personal Portfolio Site: http://www.michaelwhall.info
    Includes photography, websites, digital art and music samples.
    "Downtown" CD now available for download & purchase. (http://www.michaelwhall.info/music/music.php)


    Thanks, mhall6520.
    I'm Really happy that you are going to help me.
    my project is this:


    It is a better version of "http://webmessenger.yahoo.com/".
    Very Very Better!

    webmessenger doesn't have Buzz either!
    but it will be like the Last Yahoo! Messenger with that skin and Will do, what the Messenger does.
    it will not be a limited version of messenger.
    it will be a portal version of that messenger, in WEB (You can have the messenger with 200KB of transfer)

    The Problem:
    Connecting socket to a server (JUST IN FLASH!!!) , needs that #%#%$ xml file!

    My possible ways:
    1-(Good) : Negotiating with Yahoo! developers to place that file
    2-(Bad) : To use another programming language as a 3rd party socket server
    Means, I connect to (for example) an ASP.net Server to have an async socket.
    I wrote this code in PHP, too. but there is a problem.
    PHP doesn't have async socket and threading and it is not a 2-way language.
    3-(Ugly) : To write a PacketSniffer (for example) in VC++ that listen to the Yahoo! Chat server's IP and when received the XML Request, delete that packet and reply the XML file.

    But I am ready to listen to your ways.

    Thanks again.
    0
  • QUOTE (masih y @ Nov 10 2008, 12:41 AM) <{POST_SNAPBACK}>
    Someone Please HELP ME!
    What should I do now?


    I do appreciate your interest in our Chat servers, but as I mentioned earlier we cannot update the crossdomain.xml file as you've requested. The Chat servers/service does not have a public API. In cases where we do have public APIs we always want to ensure Flash compatibility and proper access, but in this case it's not possible.

    Brian Cantoni
    Yahoo! Developer Network
    0
  • Is there anyone who can answer me?
    I NEEEEEEEEEEEEEED that file, please
    0
  • I understand it's tough when you build something and your preferred data source is not what you expected. But Mike put it well when he said to test early. We've all been in this position before, I'm sure.

    It was brought to my attention that the new YOS messaging architecture might give you something to work with. It is not meant to be real-time chatting, but more of an email-like messaging system. However, you might find it interesting or useful.

    Head over to http://developer.yahoo.com/flash/yos/examples.html and you'll see an example Flex application at the bottom. This will give you the source code to build a basic YOS messaging application in Flash or Flex.
    0
  • What if I want you to upload my Flash to webmessenger.yahoo.com? :h
    0

Recent Posts

in Suggestions for YDN