Koala - how to get users facebook friends

hi, im using the koala gem, and i woudl like to display a list of
friends,
meaning the friend of the user being displayed.
->> /user/:id/friends

this give me only an empty array
friends = @graph.get_connections(“me”, “friends”, api_version: ‘v2.0’)

not sure…pls help

thx

On 18 July 2016 at 16:52, tom [email protected].invalid wrote:

hi, im using the koala gem, and i woudl like to display a list of friends,
meaning the friend of the user being displayed.
->> /user/:id/friends

this give me only an empty array
friends = @graph.get_connections(“me”, “friends”, api_version: ‘v2.0’)

Where in the call is the current user referenced?

Colin

that’s what I’m not clear about. what reference do I have to pass
instead
of ‘me’?
I got the oath working and users can login via fb, but not sure what to
pass here…what am I missing?
thx

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs