Ruby on Rails
Monday, July 18, 2016
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
On Jul 18, 2016 11:59 AM, "Colin Law" <clanlaw@gmail.com> wrote:
On 18 July 2016 at 16:52, tom <tomabroad@gmail.com> 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
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLscrWx0r78UcQriWTTt%2BQEbpG2ye-1hR6L3LzEvd_Zs6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMd3Uoizn7jWGUZkCPhnRqYjb9B4tHnGHRuW9JWz0vt0EA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment