As far as i know, Opensocial allows you to access public data of
friends only if they have installed your application.
I was trying to access data of my friends who havent yet installed my
app.
On May 26, 6:53 pm, humbroll <[EMAIL PROTECTED]> wrote:
> Anuj, what is the bug? Can you tell me?
> I have faced that, too.
> Is this Orkut ACL polocy?
>
> On May 26, 3:07 pm, Anuj <[EMAIL PROTECTED]> wrote:
>
> > Thanx Nitin. I found the bug :)
>
> > On May 25, 8:02 pm, "Nitin Mittal" <[EMAIL PROTECTED]> wrote:
>
> > > I have also faced this issue with my app. The error code was
> > > 'unauthorized'. Seems like an app is only allowed to access the data
> > > of the users who have installed the application, which make sense too.
>
> > > -Nitin
>
> > > On Mon, May 26, 2008 at 6:09 AM, Anuj <[EMAIL PROTECTED]> wrote:
>
> > > > I am using this statement to get viewers data
>
> > > > var viewer = globalViewer = data.get('viewer').getData();
>
> > > > It works good when the viewer has already installed my application and
> > > > he is veiwing my application on my profile or canvas page.
>
> > > > But it breaks when viewer is not my friend and he is viewing my
> > > > application in canvas or profile page
> > > > This is the error i get in Firebug "globalViewer has no properties"
>
> > > > Heres my application
> > > >http://www.orkut.com/AppInfo.aspx?appUrl=http%3A%2F%2Fnachofoto.com%2...
>
> > > > Heres my profile url (if you are not in my orkut friend list, you wont
> > > > see the application :(
> > > >http://www.orkut.com/Profile.aspx?uid=10125379469955184994
>
> > > > Does opensocial allows us to use the above function, when the viewer
> > > > is not in my friend list?
>
> > > > Any help would be appreciated.Thanx!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---