Help me about connect Facebook in Ruby on Rails

15 views
Skip to first unread message

haxuan lac

unread,
Mar 25, 2013, 12:16:08 AM3/25/13
to rubyonra...@googlegroups.com
Hi everyone
I am doing connect with Facebook by instruction of Railscast-360.
I connected Facebook and the homepage showed username of Facebook.
But it only show username of developer (admin page).
I want it can show username of many people same as friends of admin or
everyone
Can you give me some instruction? .Thanks...

--
Posted via http://www.ruby-forum.com/.

Dave Ekhaus

unread,
Mar 25, 2013, 2:30:05 AM3/25/13
to rubyonra...@googlegroups.com
11am Wednesday - its on my calendar !

Later
Dave

-- 
Dave Ekhaus
Sent with Sparrow

--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.

Cassio Soares Cabral

unread,
Mar 25, 2013, 9:57:36 AM3/25/13
to rubyonra...@googlegroups.com
Explain more a bit what you want. If you want to interact with Facebook's API try to use the gem Koala. If you want to show only the users, you should change your index(or any other page) to show all the users by name. On that Railscast only shows the logged in user, so that name(your name) in the nav it's suppose to be just like that.
2013/3/25 Dave Ekhaus <dave....@gmail.com>



--
Att
Cássio Soares Cabral


karthik selvakumar

unread,
Mar 26, 2013, 5:10:47 AM3/26/13
to rubyonra...@googlegroups.com

I use fb_graph  gem to fetch all the friends. Then you can display this list of usernames any where you like.

Check the link below:

As Cassio suggests , koala gem is another alternative for interacting with FB from rails.

haxuan lac

unread,
Mar 26, 2013, 7:27:47 AM3/26/13
to rubyonra...@googlegroups.com
Thanks.I understood this problem.I will learn gem "fb_graph".Thank you
very much
Reply all
Reply to author
Forward
0 new messages