[Facebooker-talk] FB Canvas Controller

Mike Mangino mmangino at elevatedrails.com
Wed Sep 10 10:31:20 EDT 2008


Sure, use routing to only make one controller available through  
Facebook. You can use :conditions=>{:canvas=>true} to set a different  
default route for Facebook. Then, you should be okay as long as you  
only link to things you want the user to see.

If you are super paranoid, you can add a filter around the rest of  
your controllers that stops the request if it is from a facebook canvas.

Mike

On Sep 10, 2008, at 10:00 AM, William Thomas wrote:

> I'm trying to figure out how to make only a single controller and/or  
> view be a facebook application. My goal is that I have a normal  
> site, but at some point want to let the user add my application to  
> FB. I used www.ping.fm a few days ago and they do this perfectly  
> with Facebook. Any tips?
>
> Thanks!
>
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk

--
Mike Mangino
http://www.elevatedrails.com





More information about the Facebooker-talk mailing list