Hi Jason,

Thanks a lot for the replay... ;)

Our application is a photo based one... and we like to store the URL
of the profile picture in our own database instead of the persistent
data option. Is that allowed?? I am asking this bcose, facebook TOS
doesn;t allow this... :(

~ Jim

Jason wrote:
> Hi Jim.
>
> The OpenSocial API specification's persistence layer is based on the
> key-value paradigm; the developer specifies a custom key and passes
> this key, along with a JavaScript string, to the
> opensocial.DataRequest.newFetchPersonAppDataRequest() method. This
> string is then associated with your key. The OpenSocial Developer
> Guide has an entire section devoted to persistence:
>
> http://code.google.com/apis/opensocial/docs/0.6/devguide.html#Persistent
>
> Now if you want more than one object (or, alternatively, a single
> object with several properties) to be associated with a single key,
> you can "stringify" a JSON object and store this. When version 0.7 of
> the API specification is pushed to the Orkut sandbox later today, you
> should be able to use the gadgets.json.stringify() method to do this
> easily. The new gadgets API reference has more on this method:
>
> http://code.google.com/apis/gadgets/docs/reference/gadgets.json.html
>
> Please let me know if you have additional questions on this.
>
> - Jason
>
> On Jan 30, 10:07 pm, Jim <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > There are lot of profile informations that the orkut api can retrieve.
> > But what all data the application can store in its own database?? I
> > couldn't find any reference to this. Please help, we need
> > clarification to fix our database structure!!
> >
> > ~ Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Discussion" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to