Eric Reynolds Eric Reynolds -4 years ago 48
Ruby Question

Facebook iFrame is pulling rails dynamic pages as 404 errors

I have a Facebook app page and a rails application. My rails application loads a dynamic page based on a key that is given. This works fine and dandy outside of my facebook app:

https://app.eventsent.net/event_lists/3d40ba2a4a10947c17c2337fba3421dd406cceb5?frame=true

However inside of Facebook the page is pulling up as a 404 error:

https://www.facebook.com/reynoldsdesignstudio/app_419134091467471

I have gotten around this issue by creating a static file within my system to be able to have facebook view it however this is not ideal as deploying the rails app with updates makes modifying these static pages a pain.

Any help on this would be great.

Answer Source

We got this figured out by changing the routes file to allow for a post request instead of just a get request

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download