调用FQL时达到了Facebook应用限制 [英] Facebook Application limit reached when calling FQL

查看:188
本文介绍了调用FQL时达到了Facebook应用限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

Facebook OAuth错误:达到申请请求限制

我写了一个Facebook监控应用程序默认调用Facebook FQL每30秒来确定用户是否有任何未读通知,消息或朋友请求。

I wrote a Facebook monitoring app that calls Facebook FQL by default every 30 seconds to determine if the user has any unread notifications, messages, or friend requests.

最近,它停止工作。调试时,我发现Facebook返回以下错误:

Recently, it stopped working. When debugging, I found Facebook returns the following error:

error =     {
        message = "(#4) Application request limit reached";
        type = OAuthException;
    };

嗯?我该如何解决?这是一个生产桌面应用程序。显然,用户数量越多,我的应用程序的请求数量越多。

Huh? How do I fix this? This is a production Desktop App. Obviously the higher the number of users, the higher the number of requests my app will make.

此外,这不能是防止垃圾邮件的措施,我的应用程序从FQL读取,没有发布任何内容...

Also, this can't be a spam-preventing measure, my app only reads from FQL, nothing is ever posted...

推荐答案

您应该使用订阅API,而不是经常投票Facebook。
https://developers.facebook.com/docs/reference/api/实时/

You should be using the subscribe API, not polling Facebook so often. https://developers.facebook.com/docs/reference/api/realtime/

这篇关于调用FQL时达到了Facebook应用限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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