我试图在Post请求中应用自定义函数,但它返回未定义。console.log(text); // <---- This shows correct value console.logsendTextMessage(sender,response.message)
return response.message;
Graph API - or form post我认为这意味着您还可以使用Javascript中的JSONP (这将是一个GET请求,因为JSONP只作为一个GET请求)执行批处理请求,所以我尝试在查询字符串中添加一个“批处理”参数(包含描述批处理请求的对象FB服务器的响应是:
Only POST</em