for integrating facebook,
i tried facebooker which is outdated, not suitable if you are using rails 3.
i’m using fbgraph right now, you can download a sample app from → https://github.com/nsanta/fbgraph_example
and see how it works.
you might also wanna look at another gem → koala (i haven’t tried it but it works with rails 3 afaik)
hope that helps