yea so there's not a lot of hits on getting started with rails / facebooker but I managed to get in running n thought maybe i'd post it here in the hope that the mighty google machine will pick it up - might as well drop the word, tutorial, in too for the indexer.. so:
1. Get the plugin: script/plugin install http://facebooker.rubyforge.org/svn/trunk/facebooker/ 2. Add to the application.rb ensure_application_is_installed_by_facebook_user 3. Add this to your new facebooker controller [or whatever you call it] def index @friends = session[:facebook_session].user.friends end 4. Make a view, say ~facebooker/index.fbml.erb <fb:fbml version="1.0"> <% @friend_names.each do |f| %> FRIEND - <%= f.name %> <br/> <% end %> </fb:fbml> 5. Configure your FB app in the developers panel [lots of documentation on that] 6. Configure your ~/config/facebooker.yml hopefully i didnt leave something out but - some thoughts on Facebooker after this brief encounter.. It's smooth - puts a clean, academic interface on an otherwise objectionably jumbled up mess of an API that while certainly functional is confusing at times. As a result of being concrete classes, you can, of course, use those classes in your application/views, which is handy as f***. all we need now is way to persist them.. oh that and the promise [as far as I can tell] of finally being able to write a functional test.. ! brez --~--~---------~--~----~------------~-------~--~----~ SD Ruby mailing list sdruby@googlegroups.com http://groups.google.com/group/sdruby -~----------~----~----~----~------~----~------~--~---