Facebook Page Tab fails to load in rails 4.0 -
i using rails 4.0 develop facebook page_tab. got blank content showed on facebook tabpage. think, issue related turbolink. following firefox requrest , response headers
response header
http/1.1 200 ok date: mon, 01 apr 2013 08:54:54 gmt status: 200 ok connection: close x-frame-options: sameorigin x-xss-protection: 1; mode=block x-content-type-options: nosniff x-ua-compatible: chrome=1 x-xhr-current-location: /page_tab content-type: text/html; charset=utf-8 etag: "5d34060006e527f1a21db545df3d919f" cache-control: max-age=0, private, must-revalidate set-cookie: _likenotlike_session=sehkbk5oz0fht2o0rkrmk3k2othidhy1yk5hyjdiwgnknfirwisxbkvkritlt2tjm2d2b1nvv0xqyw5qc015l0ljvjddwctitwr4cuhlc2vjk3hguhncbhazb0yxv1f4ounaa0hudde0mkfzrlhyuggxk2m5edbnmtrizzdhzxvyrtbmzex3q1rkaxrrzfjwauyyy2jmdunpsmlzrmhns0z6dgfemee5b2rloxjgdwf0z1nhcdr1n0zlevgvzdrjls1kcjhndzruujjasxznd1lndjuyntjbpt0%3d--a51e845979d81ace643d14b399ffa655ece63d79; path=/; httponly x-request-id: aac0e275-92b7-4b4b-9be7-b811ff9dec29 x-runtime: 0.024202
request header
post /page_tab http/1.1 host: localhost:60000 user-agent: mozilla/5.0 (macintosh; intel mac os x 10.6; rv:20.0) gecko/20100101 firefox/20.0 accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 accept-language: en-us,en;q=0.5 accept-encoding: gzip, deflate referer: http://static.ak.facebook.com/platform/page_proxy.php?v=5 cookie: fbm_353759128067702=base_domain=.localhost; fbm_470420673030979=base_domain=.localhost; request_method=post; _likenotlike_session=t2o2dvzuskhxudhwddjywgsvqmyxzhvgvgszyy9pc2vidgs3owj0ykrqtst2etjtr2pxtdzlsfrpbwvdamx2zfvxu2pjrennrzl2elnqmkf4q01hctlwzkznnuvnsy9ucnjruwq0ywfheujqrklsaeq1rlm5zgn1mehgv0npq0e5bjc0vxzoqthuvzjjbjfqtmpzeuvzk2m1anrbamzqu3vwzvlyulnpqmrnynlvnwjztk5wc3dztezpr0lywte2ls1tskrhb3jpngm4u205bedxmepkoe5npt0%3d--85ea3314a43d08dda9d00218a5045968ef040d0b connection: keep-alive
in response header there x-- headers think related ajax. think rails turbolink think request ajax request request normal post request if can see request header above.
really appreciate help.
solution problem following link http://conpanna.net/en-us/blog/5185b5ce79ec73ae54000003
just add response.headers["x-frame-options"] = "goforit" , every thing works
Comments
Post a Comment