Hi Vikram, On orkut, this value should only be passed when the viewer has the application installed. However, this is a policy decision, so if you want your application to run on as many containers as possible, you probably shouldn't rely on this to determine whether the user has the application installed.
>From this thread: http://groups.google.com/group/opensocial-and-gadgets-spec/browse_thread/thread/9c55f77cdd5873b2# It looks like a function to determine whether a user has the application installed will make it into 0.8 in some form. Until then, you could just write a small piece of Application Data to the OWNER's profile whenever they view their app. Then you can check each VIEWER to see if this piece of data exists. If it does, the VIEWER has the application installed. ~Arne On Tue, Apr 1, 2008 at 3:21 AM, Vikram <[EMAIL PROTECTED]> wrote: > > Hi Arne, > I find the opensocial_viewer_id param being passed when user A > (who does NOT have the app) is viewing B's application page (http:// > sandbox.orkut.com/Application.aspx?appId=$APP_ID&uid=$UID where $UID > is that of B). Is this the expected behavior? I thought > opensocial_viewer_id will be passed only if the VIEWER has installed > the application. My application relies on this behaviour to check > whether the user installed the application. Please let me know whether > my assumption is right. > If it's not, pls let me know, what is the right way to find whether > the viewer has installed the app. > > -Vikram > > On Feb 21, 11:46 pm, "Arne Roomann-Kurrik" <[EMAIL PROTECTED]> > wrote: > > Hi Richard, > > > > Thanks for following up and filing the bug. I'll be updating that > issue > > as progress is made, so you should be getting email updates. > > > > ~Arne > > > > On Thu, Feb 21, 2008 at 8:45 AM, lcd.cow <[EMAIL PROTECTED]> wrote: > > > > > Arne, > > > > > Unfortunately, removing and reinstalling the application did not > > > remove the problem. It has always been passed until Feb. 19, at which > > > point we stopped getting it overnight for no discernable reason, after > > > no changes in our code. The bug report is here: > > > > >http://code.google.com/p/opensocial-resources/issues/detail?id=70 > > > > > Please keep us in the loop as to whether or not this is planning to be > > > fixed prior to the OpenSocial launch on Orkut. (Does anyone know what > > > day that will be, by the way?) > > > > > Thanks! > > > > > -Richard > > > > > On Feb 20, 1:27 pm, "Arne Roomann-Kurrik" <[EMAIL PROTECTED]> > > > wrote: > > > > Hi Richard, > > > > > > ViewerID should be passed in cases where the viewer has the > > > application > > > > installed. Please try removing and reinstalling your application > from > > > the > > > > viewer and owner profiles and then see if it is passed. If not, > then > > > please > > > > open a bug report > > > inhttp://code.google.com/p/opensocial-resources/issues/list > > > > > > Thanks, > > > > Arne > > > > > > On Wed, Feb 20, 2008 at 10:08 AM, lcd.cow <[EMAIL PROTECTED]> wrote: > > > > > > > Until very recently, opensocial_viewerid was being passed to our > app > > > > > in makeRequest() calls. Currently, this is no longer the case, and > we > > > > > are now unable to authenticate as we were before. > > > > > > > Will opensocial_viewerid no longer be passed through makeRequest > going > > > > > forward? If so, is there some other way we can get ViewerID in a > > > > > secure manner to our server? > > > > > > > Thanks, > > > > > > > Richard > > > -- OpenSocial IRC - irc://irc.freenode.net/opensocial --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" 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-orkut?hl=en -~----------~----~----~----~------~----~------~--~---

