Hi Alex, Think about receiving gifts as you do not actually receive it, but some one have claimed of sending you a gift. The reason, why the gifts received is not in my profile, is due to the fact that a VIEWER can write in his/her own app data. Infact only a VIEWER can write app data.
Hence When we say, we have received a gift we access VIEWER_FRIENDS (our friends) appdata to check if some one has flagged that he/she has sent me a gift. It is confusing at the beginning until you realize, only VIEWER can write in his/her own app store, and receiving gift is not actually receiving gift up checking if some one has sent me a gift. Now the reason, why only VIEWER is allowed to store data in his/her own app store, is that if VIEWER is allowed to store data in a VIEWER_FRIENDS app store, there is no way of telling who was the owner of the data. I hope this helps, if not please shoot back more specific questions, I would be more than happy to address them. Thanks, Rohit Google Developer Programs Meet OpenSocial developers irc://irc.freenode.net/opensocial On Thu, Jun 12, 2008 at 12:13 AM, Rohit Ghatol <[EMAIL PROTECTED]> wrote: > > Hi Alex, > Think about receiving gifts as you do not actually receive it, but some one have claimed of sending you a gift. > The reason, why the gifts received is not in my profile, is due to the fact that a VIEWER can write in his/her own app data. Infact only a VIEWER can write app data. > > Hence When we say, we have received a gift we access VIEWER_FRIENDS (our friends) appdata to check if some one has flagged that he/she has sent me a gift. > It is confusing at the beginning until you realize, only VIEWER can write in his/her own app store, and receiving gift is not actually receiving gift up checking if some one has sent me a gift. > > Now the reason, why only VIEWER is allowed to store data in his/her own app store, is that if VIEWER is allowed to store data in a VIEWER_FRIENDS app store, there is no way of telling who was the owner of the data. > > I hope this helps, if not please shoot back more specific questions, I would be more than happy to address them. > > Thanks, > Rohit > > > Google Developer Programs > > Meet OpenSocial developers > irc://irc.freenode.net/opensocial > > On Wed, Jun 11, 2008 at 7:58 PM, Alex <[EMAIL PROTECTED]> wrote: >> >> So I have been playing around with the tutorial app and have found >> that gifts that when I log in gifts that I have sent appear on the app >> in my profile and gifts that others have sent me only appear on their >> respective profiles. I think that the gifts I have sent and received >> should all be appearing in the app on my profile but I'm not sure. >> Could someone please clarify? >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---
