我有一个动作在今天早上之前可以正常工作,但现在它的行为不应该是这样。
Facebook 没有捕捉到我在“index.jsp?”之后发送的变量。因此,尽管发布了操作,但它显示拼图 id 和时间显示为 null。
以下是我尝试过的代码都给了我同样的问题。
FB.api('/me/mpuzzleapp:solve?mpuzzle='+encodeURIComponent('{mycompleteurl}/index.jsp?mid='+mid+'&timing='+timing+'&access_token='+accessToken),'post',
function(response) {
if (!response || response.error) {
//alert(response.error.message);
}else{
alert("Action posted successfully.")
}
});
FB.api(
'/me/mpuzzleapp:solve',
'post',
{
mpuzzle: '{mycompleteurl}/index.jsp?mid='+mid+'&timing='+timing+'&access_token='+accessToken
},
function(response) {
if (!response || response.error) {
alert(response.error.message);
}else{
alert("Action posted successfully.")
}
}
);
以前这可以正常工作,现在它无法用我的 url 捕获参数。贴在我墙上的链接是这个。
它缺少中间和时间参数。