Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Discussions > OpenSocial Application Development > Interacting with our existing codebase and date?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
nsheth  
View profile  
 More options Nov 3 2007, 2:48 pm
From: nsheth <nsh...@gmail.com>
Date: Sat, 03 Nov 2007 18:48:46 -0000
Local: Sat, Nov 3 2007 2:48 pm
Subject: Interacting with our existing codebase and date?
I see how to make a simple OpenSocial app.  Now, to start doing things
that are more interesting, how do I interface with my existing website
and database?  I already an existing website, and want to use
OpenSocial as an additional mechanism by which users can interact with
the content and functionality I already offer.

I don't see the "approved" way to do this - a couple thoughts:

Should I wait for the OpenSocial Data API's?  How will that work?  The
current documentation shows that we write our apps as Google Gadgets,
and all the code runs client-side.  To use the data apis, will we
specify some sort of callback function somewhere a la facebook?

Alternately, perhaps I can embed an iframe in the Content section of
the gadget, pointing towards custom-built pages on my site.  Though, I
still don't know how to handle authentication.  Will I need to build
my own system to handle that?

Thanks for any input!


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arne Roomann-Kurrik (Google) Google employee  
View profile  
 More options Nov 3 2007, 3:21 pm
From: "Arne Roomann-Kurrik (Google)" <api.kur...@google.com>
Date: Sat, 03 Nov 2007 19:21:07 -0000
Local: Sat, Nov 3 2007 3:21 pm
Subject: Re: Interacting with our existing codebase and date?
Once the OpenSocial Data APIs are available on the Sandbox, you will
be able to make server to server calls to interact with OpenSocial
data.  Until then, you have a couple of options:

1.) Use the _IG_Fetch functions that are part of the Google Gadget
spec:
http://code.google.com/apis/gadgets/docs/remote-content.html
I've seen developers pull templates down from their remote site using
this method, and then populate the templates with data using the
JavaScript api.

2.) Create your own JSON based API and use <script> includes to pull
data down.

3.) Use a cross domain JS library to forward information.  I believe
that Dojo has functions for this.

Currently, authenticating requests made in this manner is not
supported, but we are working hard to allow third party servers to
verify that calls are legitimate and coming from the Orkut API.  Be
aware that until requests are signed, any data sent back to your
servers at this time may have been modified by a third party, and
stick to storing user data using the persistence (fetch/
updatePersonAppData) calls on the Orkut end.

~Arne

On Nov 3, 11:48 am, nsheth <nsh...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sizhao Yang  
View profile  
 More options Nov 3 2007, 3:26 pm
From: "Sizhao Yang" <zaoy...@gmail.com>
Date: Sat, 3 Nov 2007 12:26:47 -0700
Local: Sat, Nov 3 2007 3:26 pm
Subject: Re: [opensocial] Re: Interacting with our existing codebase and date?

When do you think the Data API's are going to be available? In a
week/month/couple of months?

Zao

On 11/3/07, Arne Roomann-Kurrik (Google) <api.kur...@google.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google