A Fuse Powered Company

Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

how to bring back facebook friends using the same application ?
Started by shay3112 Dec 25 2013 04:01 AM

- - - - -
1 reply to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

shay3112

[GLOBAL: userInfoPane.html]
shay3112
  • Starter
  • PipPipPip
  • 38 posts
  • Advanced Member

hi,

so i have a question, i want to bring back all the user friends on facebook that are using the same application

i have a facebook call that can bring back all the user friends (facebook.request( "me/friends" )) but the quesiton is how do i bring back all the users that are using the exaxt same app that i'm using .. ?

 

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Corona Staff
  • 10,739 posts
  • Jedi

There is a field you can request that Facebook include in the friends request.  I had an app that did this:

 

            local params = {
                fields = "name,username,first_name,last_name,picture,installed"
            }
            libFacebook.request("me/friends", "GET", params, onRequestComplete)

 

See the ",installed" in the fields list?

 

You can then look in the table of returned people and filter out people who don't have the installed value.

 

Rob




[topic_controls]
[/topic_controls]