接收Facebook应用程序错误警报 - “plugin:post”的无效参数 [英] Receiving Facebook app error alerts - invalid parameters for "plugin:post"

查看:164
本文介绍了接收Facebook应用程序错误警报 - “plugin:post”的无效参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从7月30日开始,每3天,我们已经收到了我们的Facebook应用的警报,该应用在我们的网站上用于Facebook登录和社交发布:

Starting on July 30th, and every 3 days since, we've been getting this alert for our Facebook app, which is used on our site for Facebook Login and social posting:

In the last three hours 100% of the calls to the method plugin:post
resulted in errors. 
Error Code  100 
Error Description   Invalid parameter
Error Count 5,971



Thing is, I have no idea what "plugin:post" is. Google and stackoverflow don't seem to know either, for that matter :) And 5,971 instances of it in 3 hours is more traffic than I would expect on our site.

我们的代码库不包含任何对plugin:post的引用,所以我假设plugin:post是Graph API中其他一些功能的别名。我只是不知道是什么。任何人都有一个想法?

Our codebase does not contain any references to "plugin:post", so I'm assuming "plugin:post" is an alias for some other functionality within the Graph API. I just don't know what. Anyone have an idea?

我看到有社交插件使用fb:postFBML样式标签( https://developers.facebook.com/docs/plugins/embedded-posts/ ) ,但我们不使用该插件。

I did see there there is social plugin which uses an "fb:post" FBML style tag (https://developers.facebook.com/docs/plugins/embedded-posts/) that sounds like it could be related, but we don't use that plugin.

任何见解将不胜感激,谢谢!

Any insight would be appreciated, thanks!


我检查了2013年7月的突破变化,没有什么好像会影响我们。

I checked the July 2013 Breaking Changes, and nothing seemed like it would impact us.

我们正在使用:
- 通过Feed对话框打开Graph API进行社交发布,用户的新闻Feed或朋友的新闻Feed
- Facebook登录API,允许用户登录我们的网站,
- Facebook Javascript api用于获取用户信息(例如FB.api('/ me'...),F.api('/我/朋友的...)等)和其他数据通过FQL FB.api(/ fql...)。我已经验证,没有一个FQL语句受到2013年7月的更改的影响。

We're using: - Open Graph API for social posting via the Feed dialog to either the user's news feed or a friend's news feed - Facebook Login API to allow users to log into our site, - Facebook Javascript api for geting user info (e.g. FB.api('/me'...), F.api('/me/friends'...), etc. ), and other data via FQL FB.api("/fql"...). I've verified that none of the FQL statements are impacted by the July 2013 changes.

我会发布一些代码,但是我们有相当多的FB相关的Javascript在网站上,我不知道导致问题的是哪一个。

I would post some code, but we have a fair amount of FB-related Javascript on the site, and I'm not sure which is the one causing the problem.

推荐答案

原来这是因为在我们的页面的HTML中的命名冲突。我们有一个类名为fb-post的页面元素。 Facebook显然把它当成了fb:post。由于我们的fb-post不是一个实际的FBML标签,所以它没有Facebook在其中找到的其他参数。所以Facebook开始提供警报。

Turns out this was all due to a naming conflict in the HTML of our page. We had a page element with a class name of "fb-post". Facebook apparently treats this a "fb:post". Since our "fb-post" was not an actual FBML tag, it does not have the other parameters Facebook looks for in a post. So Facebook started giving alerts.

我怀疑这是因为Facebook的变化,因为我们已经有这些fb-post元素到位了好几年了没有问题。

I suspect this is due to a change on Facebook's part, as we've had these "fb-post" elements in place for years now, without issue.

顺便提一句,对于类名为fb-name的任何元素也是如此,因为Facebook将其视为fb:name 。

Incidentally, this is also the case for any elements with a class name of "fb-name", as Facebook treats that as "fb:name".

这篇关于接收Facebook应用程序错误警报 - “plugin:post”的无效参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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