Actually, try this (as mentioned earlier):

req.add(req.newFetchPeopleRequest('VIEWER_FRIENDS',{ filter:
opensocial.DataRequest.FilterType.HAS_APP }), 'viewerFriends');

Jesse

On Feb 16, 2008 7:55 PM, Jesse Stay <[EMAIL PROTECTED]> wrote:

> One hack around this is to look for data that isn't available unless the
> user has installed the app.  The CURRENT_LOCATION key is one of those
> (although I would love them to at least make the zip code available), and I
> just check to see that it doesn't return null on getField for that value.
> This is clearly a hack though - having this function would be very much
> appreciated.
>
> Jesse
>
>
> On Feb 16, 2008 7:41 PM, Keaka <[EMAIL PROTECTED]> wrote:
>
> >
> > I was under the impression that you couldn't even get viewer data
> > unless the viewer has your app installed.  Thus, if you have a viewer
> > object, you know the viewer has the app installed.  If attempting to
> > grab the viewer fails, they don't have the app.  A viewer.hasApp()
> > function might not help much... if you had a viewer object and were
> > able to call that method, you would already know the answer before
> > calling hasApp()!
> > > >
> >
>
>
> --
> Jesse Stay
> The Social Media Guru
>
> Partner, CSO: http://www.SocialOptimize.com
> Co-Author:       I'm on Facebook -- Now What???
>                          http://FacebookAdvice.com
> Author: O'Reilly's FBML Essentials
> Blogger:           http://www.jessestay.com
>                          http://www.socialoptimize.com/blog
>
> Phone: (801) 853-8339




-- 
Jesse Stay
The Social Media Guru

Partner, CSO: http://www.SocialOptimize.com
Co-Author:       I'm on Facebook -- Now What???
                         http://FacebookAdvice.com
Blogger:           http://www.jessestay.com
                         http://www.socialoptimize.com/blog

Phone: (801) 853-8339

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

Reply via email to