0
我需要做一些簡單的身體:Facebook的批量請求:錯誤(#100)無效的參數:一個錯誤
$queries = array(array('method' => 'POST', 'relative_url' => '1665895414/apprequests', 'body'=>'message=hello'));
$jsonstr = json_encode($queries);
$result = $facebook->api('/?batch=' . $jsonstr, 'post');
和反應是:
[7] => Array
(
[name] => WWW-Authenticate
[value] => OAuth "Facebook Platform" "invalid_request" "(#100) Invalid parameter: Body of an error/warning message. Title is: Invalid parameter"
)
)
[body] => {"error":{"message":"(#100) Invalid parameter: Body of an error\/warning message. Title is: Invalid parameter","type":"OAuthException"}}
)
任何想法?
預先感謝您。
此鏈接不再有效。小心使用指向「此代碼」實際引用的指針進行更新? :( – Joe