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 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