Topic: Help Integrating Ning social network on my app

Hi all,

I'm currently developing a website where I would like to integrate some Ning's features like the Videos uploading and playing functionality.

I've been doing a lot of research about how would be the best way of integrating Ning with the rest of the application, but still haven't found anything that is easy to use and prepared for this.

For the moment I'm using Atom-tools (http://code.necronomicorp.com/atom-tools/) for accessing Ning REST API through Atom and am able to get the result without problems.
The difficult part for me right now is how to "use" that information on my page, because I can only access the information partially since I don't know exactly how the atom_tools build the structure from the obtained data.

Have anyone implemented something similar to this with Ning social network? It would be great if someone can guide me at least on where to look for better information.

Thanks in Advance for your help,
Marco

Re: Help Integrating Ning social network on my app

In case someone is interesting, the solution to this was to use NET::HTTP for communicating with Ning REST API and REXML for having the XML object to which extract the information. Here's a short example:

 url=URI.parse("http://mynetwork.ning.com/xn/atom/1.0/content?xn_auth=no")
resp= Net::HTTP.get_response(url)
xml= REXML::Document.new(resp.body)

A good example for understanding how to use the REXML structure is shown here: http://www.superwick.com/archives/2007/ … -on-rails/

Chau!

Last edited by mac_freelancer (2007-11-30 05:15:48)