FB wall posting OAuthException

允我心安 提交于 2019-12-08 11:25:54

问题


i have integrated the feed post PHP-SDK by using the following set of codes

$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);  

Everything worked great for one day, but today it was showing the following error codes.

Uncaught OAuthException: (#341) Feed action request limit reached thrown in /hsphere/local/home/mysite.com/include/3rdparty/facebook-php-sdk/src/facebook.php

Uncaught OAuthException: (#210) User not visible thrown in /hsphere/local/home/mysite.com/include/3rdparty/facebook-php-sdk/src/facebook.php


回答1:


Your application seems to have reached the limits of interaction.

  1. Login to facebook
  2. Visit http://www.facebook.com/insights/
  3. Select your App
  4. Click on API
  5. Look for API Throttling tab.

And see what limits your have reached.

To find out how to fix this and what exactly causes this you can read more about it in these threads on Facebook's developer forum:

http://forum.developers.facebook.net/viewtopic.php?id=95309 http://forum.developers.facebook.net/viewforum.php?id=24



来源:https://stackoverflow.com/questions/5803586/fb-wall-posting-oauthexception

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!