We recently had to integrate one of our web projects with Facebook Connect and there wasn't much information available on how to actually do it for a Rails app. But there is apparently a fleet of PHP code samples floating around, which is hardly surprising given that Facebook itself is a PHP project. This includes the venerable The Run Around app, a more or less official FB connect platform sample, provided by Facebook.
Your typical PHP code is a hellish mix of lines of PHP, HTML, CSS and Javascript, all thrown together into files with no apparent demarcation. Being exposed to it for more than a few seconds can seriously damage one's mental health. The Run Around / PHP is no exception -- I practically had to suppress vomiting when looking at that source code. It's good to be in the Rails world...
Then we decided to write a Run Around clone, using Rails. Hopefully it will be useful to Rails developers adding FB Connect to their sites. In terms of the functionality it provides, it's almost identical to the PHP original.
git clone
git://github.com/vjebelev/therunaround.git


Loading...