9 messages in com.googlegroups.opensocial-containerRe: [OpenSocial] Re: Rails plugin
FromSent OnAttachments
Ryan Garver06 Dec 2007 19:40 
shanko07 Dec 2007 13:15 
Ryan Garver07 Dec 2007 16:56 
Schogini Support07 Dec 2007 17:29 
Ryan Garver07 Dec 2007 17:41 
Schogini Support07 Dec 2007 17:49 
Ryan Garver07 Dec 2007 22:33 
Schogini Support08 Dec 2007 05:23 
shanko09 Dec 2007 21:27 
Subject:Re: [OpenSocial] Re: Rails plugin
From:Schogini Support (scho@gmail.com)
Date:12/07/2007 05:49:29 PM
List:com.googlegroups.opensocial-container

Thanks, the greatly clarified the doubt I had.

I have implemented other REST API's... but my question/doubt here is REST API should talk to which remote system?

eg: I want to add a container in my Expresion Engine based site so that I can allow logged in customers to see their FaceBook friends.

In this case REST-API should be hard coded to FaceBook API?

Thanks/Sree

On Dec 8, 2007 7:11 AM, Ryan Garver <raga@gmail.com> wrote:

The local state xml provided much of the bootstrapping data and filled in the content for activities, people, friendships, and the persistence data. My plugin leverages the REST API being implemented by the Rails app and uses it to power all of the data requests in the JS API.

So the short answer is: Yes.

On Dec 7, 5:30 pm, "Schogini Support" <scho@gmail.com> wrote:

Hi Ryan,

How do I get the REST API details, I couldn't find any details on it at Google OpenScoial.

The sample container at Google use local state xml file and assume the REST replaces that.

Thanks, Sree

On Dec 8, 2007 6:26 AM, Ryan Garver <raga@gmail.com> wrote:

shanko, A container is an application that can run an OpenSocial application.

This does this in two ways: First, the plugin has a generator that implements the REST API in a fairly generic manner. Secondly, the plugin adds some functionality to embed a "container" parameterized with a URL for an OpenSocial App XML. All put together and you get an IFRAME with some javascript that retrieves profile, friendship, activities, and persistent data from your rails application.

I'm going to see if I can come up with some examples of real use, which may provide some insight.

Was this helpful?

-- Ryan Garver

On Dec 7, 1:15 pm, shanko <std@gmail.com> wrote:

Hi Ryan,

I am newbie to OpenSocial (but not to Rails) and need a little more hand holding before I can use the plugin. So allow me to ask a really dumb question:

After installing this plugin, will I be able to develop a website which shows my Orkut information on a page?

I am not sure what we really mean by a "container" :-)

Thanks, - shanko

On Dec 6, 9:41 pm, Ryan Garver <raga@gmail.com> wrote:

For those of you out there doing rails development, I've just released the 0.3.0 version of my opensocial_container rails plugin. This implements both an OpenSocial container as well as the data API, or leverages the data API if you already have it implemented yourself. Check it out and let me know what you think.

Announcement:

http://elctech.com/2007/12/7/opensocial-container-0-3-0

..