Why is the first request to a Facebook IFrame App Canvas Page a POST request?

泪湿孤枕 提交于 2019-12-07 02:47:07

问题


I noticed when I set up my first FB app today (an iframe app accessed within facebook) that all the requests made to it via facebook are HTTP POSTs rather than GET requests. Is there any reason for this? What if I wanted to implement HTTP caching?

I'm new to developing on the FB platform, forgive me if this is an obvious question but I've googled and can't find the answer.


回答1:


Facebook POSTs to the initial page in order to pass along the signed request that includes potentially important information for the application.



来源:https://stackoverflow.com/questions/9050230/why-is-the-first-request-to-a-facebook-iframe-app-canvas-page-a-post-request

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!