Hello all,
I'm a Flex and Flash developer. I have developed a video chat application which I usually deploy on 'normal' websites (ie not Ning). I'm looking for help to integrate the chat SWF with Ning and I haven't got the time to learn the ins and outs of Ning myself at the moment. Plus I am not a PHP programmer...
What I am after is a fairly simple proof of concept. My chat SWF accepts a parameter (the user's id) via FlashVars, meaning the page that the SWF is embedded into will pass this userid to the SWF.
The first task is therefore to set up a page on Ning (I have source access for my network) with my SWF on it in which the newly created page will retrieve the Ning userid (or whichever other identifier Ning uses) of the currently logged in user and pass it to the SWF . This should be trivial for someone who is familiar with Ning development. The key requirement is that the id we're passing to the SWF can be used later to retrieve the user's details (see the next section).
Task two will involve the creation of a custom script (or maybe there's an API available for this on Ning) that will accept that same userid via a HTTP POST, query the Ning backend and return the user details such as username, avatar image etc etc (whatever is available) and return it. The response must be in XML format.
My chat application will then parse that XML and log the user into the chat.
I welcome any help on this and I am happy to pay for your time to get this up and running. Once it works there's likely to be more work for you as a result.
If I am not clear in any way please let me know.
Thanks,
Stefan
www.flashcomguru.com
www.muchosmedia.com