有没有办法检测来自facebook的回调请求,因为看起来请求不是ajax。
答案 0 :(得分:1)
来自:http://developers.facebook.com/docs/credits/callback/
您可以通过解码signed_request来验证Facebook是否正在调用回调。
{
"signed_request":"PfjakldsFWWs...",
"buyer":"221159",
"receiver":"221159",
"order_id":"9006136047935",
"order_info":""fbhat"",
"method":"payments_get_items"
}