FB墙贴OAuthException [英] FB wall posting OAuthException

查看:185
本文介绍了FB墙贴OAuthException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过使用以下代码集合了feed脚本PHP-SDK

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.


未捕获OAuthException:(#341)Feed

/ hsphere/local/home/mysite.com中抛出的操作请求限制/include/3rdparty/facebook-php-sdk/src/facebook.php

Uncaught OAuthException: (#341) Feed action request limit reached thrown in /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

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

推荐答案

p>您的应用程序似乎已经达到了交互的极限。

Your application seems to have reached the limits of interaction.


  1. 登录Facebook

  2. 访问 http://www.facebook.com/insights/

  3. 选择您的应用程序

  4. 点击API

  5. 查找API Throttling选项卡。

  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.

看看你达到的限制。

要了解如何解决这个问题,究竟是什么导致这一点,您可以在Facebook开发者论坛的这些主题中阅读更多信息:

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

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

这篇关于FB墙贴OAuthException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆