facebook api请教
目的:update status
方法:
http发送
$request[] = post http://api.facebook.com/restserver.php?method=status.set&api_key=762ec91e7987aaeaee7e2cdfdfcb3c30&call_id=$call_id&sig=$s&v=1.0&status=44 http/1.1 ;
$request[] = host: www.facebook.com ;
$request[] = content-type: application/x-www-form-urlencoded ;
$request[] = user-agent: mozila ;
$request[] = authorization: basic {$authcredentials} ;
$request[] = connection: close ;。。。。。
为翻墙,直接将内容放在post中发送。翻墙等略,上面是我发送的形式,twitter用此形式成功。
问题:400,method not implemented invalid method in request
官网的api已经看过了,不过我想用rest的形式,如上,请问有没有经验的前辈告诉我,http发送的形式应该是怎样???
------解决方案--------------------
400,method not implemented invalid method in request
--------------------------------
不完整的方法,看一下你的接口的方法参数是什么,对得上号吗?