Unfortunately my host only has fastcgi unless I want to pay extra to have mongrel. Is there a way to run facebook apps given that fastcgi the server? Here''s my facebooker.yml right now (which isn''t working): development: api_key: xxx secret_key: xxx canvas_page_name: myapp callback_url: http://www.domain.com tunnel: public_host_username: public_host: public_port: 4007 local_port: 3000
What isn''t working about it? FastCGI shouldn''t make a difference that I can think of. Mike On Sep 14, 2008, at 7:28 PM, Allen Walker wrote:> Unfortunately my host only has fastcgi unless I want to pay extra to > have mongrel. Is there a way to run facebook apps given that fastcgi > the server? > > Here''s my facebooker.yml right now (which isn''t working): > > development: > api_key: xxx > secret_key: xxx > canvas_page_name: myapp > callback_url: http://www.domain.com > tunnel: > public_host_username: > public_host: > public_port: 4007 > local_port: 3000 > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com
For some crazy reason when I go to "apps.facebook.com/myapp" it''s trying to display the standard "Welcome to Rails" default home page. I had it working fine using mongrel. Mike Mangino wrote:> What isn''t working about it? FastCGI shouldn''t make a difference that > I can think of. > > Mike > On Sep 14, 2008, at 7:28 PM, Allen Walker wrote: > >> Unfortunately my host only has fastcgi unless I want to pay extra to >> have mongrel. Is there a way to run facebook apps given that fastcgi >> the server? >> >> Here''s my facebooker.yml right now (which isn''t working): >> >> development: >> api_key: xxx >> secret_key: xxx >> canvas_page_name: myapp >> callback_url: http://www.domain.com >> tunnel: >> public_host_username: >> public_host: >> public_port: 4007 >> local_port: 3000 >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk > > -- > Mike Mangino > http://www.elevatedrails.com > > > >
BINGO! I''ve been screwing with this for HOURS! thanks alot. BJ Clark wrote:> Try deleting public/index.html > > Most fastcgi setups are set to first check for a static html file > then default to the dynamic action. > > BJ > > > On Sep 14, 2008, at 6:41 PM, Allen Walker wrote: > >> For some crazy reason when I go to "apps.facebook.com/myapp" it''s >> trying to display the standard "Welcome to Rails" default home page. >> >> I had it working fine using mongrel. >> >> Mike Mangino wrote: >>> What isn''t working about it? FastCGI shouldn''t make a difference >>> that I can think of. >>> >>> Mike >>> On Sep 14, 2008, at 7:28 PM, Allen Walker wrote: >>> >>>> Unfortunately my host only has fastcgi unless I want to pay extra >>>> to have mongrel. Is there a way to run facebook apps given that >>>> fastcgi the server? >>>> >>>> Here''s my facebooker.yml right now (which isn''t working): >>>> >>>> development: >>>> api_key: xxx >>>> secret_key: xxx >>>> canvas_page_name: myapp >>>> callback_url: http://www.domain.com >>>> tunnel: >>>> public_host_username: >>>> public_host: >>>> public_port: 4007 >>>> local_port: 3000 >>>> _______________________________________________ >>>> Facebooker-talk mailing list >>>> Facebooker-talk at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>> >>> -- >>> Mike Mangino >>> http://www.elevatedrails.com >>> >>> >>> >>> >> >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk > >
Also, make sure you don''t have any "puts" statements in you code, mongrel is fine with this but it messes with FastCGI. Dave On Sun, Sep 14, 2008 at 6:58 PM, Allen Walker <auswalk at gmail.com> wrote:> BINGO! I''ve been screwing with this for HOURS! > > thanks alot. > > BJ Clark wrote: > >> Try deleting public/index.html >> >> Most fastcgi setups are set to first check for a static html file then >> default to the dynamic action. >> >> BJ >> >> >> >> On Sep 14, 2008, at 6:41 PM, Allen Walker wrote: >> >> For some crazy reason when I go to "apps.facebook.com/myapp" it''s trying >>> to display the standard "Welcome to Rails" default home page. >>> >>> I had it working fine using mongrel. >>> >>> Mike Mangino wrote: >>> >>>> What isn''t working about it? FastCGI shouldn''t make a difference that I >>>> can think of. >>>> >>>> Mike >>>> On Sep 14, 2008, at 7:28 PM, Allen Walker wrote: >>>> >>>> Unfortunately my host only has fastcgi unless I want to pay extra to >>>>> have mongrel. Is there a way to run facebook apps given that fastcgi the >>>>> server? >>>>> >>>>> Here''s my facebooker.yml right now (which isn''t working): >>>>> >>>>> development: >>>>> api_key: xxx >>>>> secret_key: xxx >>>>> canvas_page_name: myapp >>>>> callback_url: http://www.domain.com >>>>> tunnel: >>>>> public_host_username: >>>>> public_host: >>>>> public_port: 4007 >>>>> local_port: 3000 >>>>> _______________________________________________ >>>>> Facebooker-talk mailing list >>>>> Facebooker-talk at rubyforge.org >>>>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>>>> >>>> >>>> -- >>>> Mike Mangino >>>> http://www.elevatedrails.com >>>> >>>> >>>> >>>> >>>> >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>> >> >> >> > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080914/8ed32bcc/attachment.html>