【发布时间】:2011-04-27 11:49:32
【问题描述】:
我已使用以下代码集集成了 PHP-SDK 后的提要
$attachment = array(
'access_token' => $accestoken,
'message' => "Favorite Restaurant is ".$business['name'].$business['location']['city']."-What is yours? ",
'name' => $business['name'],
'link' => $business['personal_url'],
'description' => "<b>myTaste || real restaurant reviews, share your taste on myTaste</b>",
'picture'=> "http://mysite.com/images/gui/header/mytaste.gif"
);
$facebook->api("/".$usid."/feed", "post",$attachment);
一天一切正常,但今天显示以下错误代码。
未捕获的 OAuthException: (#341) 提要 已达到动作请求限制 /hsphere/local/home/mysite.com/include/3rdparty/facebook-php-sdk/src/facebook.php
未捕获的 OAuthException: (#210) 用户不可见抛出 /hsphere/local/home/mysite.com/include/3rdparty/facebook-php-sdk/src/facebook.php
【问题讨论】:
-
把你的代码放在侧代码块中,这样我们可以更容易地阅读它。