为什么对Facebook IFrame App Canvas Page的第一个请求是POST请求? [英] Why is the first request to a Facebook IFrame App Canvas Page a POST request?

查看:101
本文介绍了为什么对Facebook IFrame App Canvas Page的第一个请求是POST请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我今天设置我的第一个FB应用程序(在Facebook中访问iframe应用程序)时注意到,通过Facebook向它发出的所有请求都是HTTP POST而不是GET请求。有什么理由吗?如果我想实现HTTP缓存怎么办?

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?

我是FB平台开发的新手,如果这是一个明显的问题,请原谅我,但是我已经在Google上搜索了,找不到答案。

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.

推荐答案

Facebook POST到初始页面,以便传递已签名的请求,其中包含该应用程序的潜在重要信息。

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

这篇关于为什么对Facebook IFrame App Canvas Page的第一个请求是POST请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆