活动/粉丝页面的提要对话框显示“抱歉,出了点问题。”点击分享后

发布于 2024-12-22 12:33:50 字数 1839 浏览 1 评论 0 原文

尝试发布到活动或粉丝页面时,提要对话框存在一些问题。在我的应用程序中,我使用 JS API 和 FB.ui 使用方法提要。

但为了演示,您也可以使用 feed url 来完成此操作,例如:

http://www.facebook.com/dialog/feed?app_id=131727613511269&to=287203454659917&redirect_uri=http://www.timeanddate.com/

点击分享后,您会得到:

抱歉,出了点问题。

我们正在努力尽快修复此问题。

其中:

app_id = 您的应用

目标 = 活动/粉丝页面

redirect_uri = 您可以重定向的网址,以

表明该应用有<强>publish_stream权限。 (它还有用于粉丝页面的manage_pages)

顺便说一句,有问题的应用程序是: http://apps.facebook .com/tndcountdown/

谢谢,

安迪

编辑:

直接取自文档的示例:

http://www.facebook.com/dialog/feed?app_id=123050457758183&link=http://developers.facebook.com/docs/reference/dialogs/&picture=http://fbrell.com /f8.jpg&name=Facebook%20Dialogs&caption=R eference%20Documentation&description=使用%20Dialogs%20to%20interact%20with%20users。&message=Facebook%20Dialogs%20are%20so%20easy!&redirect_uri=http://www.example.com/response&to= 287203454659917

只需将 to=287203454659917 替换为一个事件..(像那里那样进行测试)

Having some issues with the feed dialog when attempting to post to a event or fan page. In my application I am using the JS API and FB.ui using the method feed.

But for a demonstration you can do it using the feed url too for example:

http://www.facebook.com/dialog/feed?app_id=131727613511269&to=287203454659917&redirect_uri=http://www.timeanddate.com/

After clicking share you get the:

Sorry, something went wrong.

We're working on getting this fixed as soon as we can.

Where:

app_id = your app

to = a event / fan page

redirect_uri = a url you are allowed to redirect to

note that the app has publish_stream permissions. (it also has manage_pages for fan pages)

The app in question by the way is: http://apps.facebook.com/tndcountdown/

Thanks,

Andy

EDIT:

An Example taken straight from the documentation:

http://www.facebook.com/dialog/feed?app_id=123050457758183&link=http://developers.facebook.com/docs/reference/dialogs/&picture=http://fbrell.com/f8.jpg&name=Facebook%20Dialogs&caption=Reference%20Documentation&description=Using%20Dialogs%20to%20interact%20with%20users.&message=Facebook%20Dialogs%20are%20so%20easy!&redirect_uri=http://www.example.com/response&to=287203454659917

just replace to=287203454659917 with an event.. (make a test one like it did there)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

掀纱窥君容 2024-12-29 12:33:50

我在遗嘱对话框中遇到的一些问题是 Facebook 会尝试填写任何缺失的数据。因此,如果您不提供描述和标题,Facebook 将尝试抓取页面以获取该内容。根据页面对“抓取”的响应方式,Facebook 将会出错。我总是确保至少为这些字段留出一个空间。

您提供的提要网址似乎与文档中的内容类似。但文档中的demo有额外的参数。
我即将向我的 Facebook 应用程序添加页面支持,该应用程序的功能与您的应用程序相同。
http://apps.facebook.com/countdown-timer/

A few issues I've run into will dialog is that Facebook tries to fill in any missing data. So if you don't provide a description and caption, Facebook will try to scrape the page to get that content. Depending on how the page responds to the "scraping" Facebook will error out. I always make sure I include at least a space for those fields.

It seems the feed url you provided is similar to what is in the documentation. But the demo in the documentation has extra parameters.
I'm about to add page support to my Facebook app, which does the same thing as yours.
http://apps.facebook.com/countdown-timer/

很糊涂小朋友 2024-12-29 12:33:50

正如我在这里发布的 - Facebook 发送按钮 - '抱歉,出了点问题错了。'...

我也遇到了同样的问题&发现这是由于链接到的 Facebook 页面没有设置虚荣 URL(即 http:// /www.facebook.com/CubicMushroom 而不是 http://www.facebook.com/profile.php?id=261963707177053)。如果您为页面设置了个性化 URL,则似乎可以正常工作(前提是您链接到页面 URL 的个性化 URL 版本)。

要申请个性化网址,一旦您有一定的喜欢数(以前是 25,但现在认为有点低),请访问 https://www.facebook.com/username/

As I posted here - Facebook Send Button - 'Sorry, something went wrong.'...

I had the same problem & worked out that this was due to linking to a Facebook page that did not have a vanity URL set up (i.e. http://www.facebook.com/CubicMushroom rather than http://www.facebook.com/profile.php?id=261963707177053). If you set up a vanity URL for the page it seems to work OK (providing you link to the vanity URL version of the page URL).

To claim a vanity URL, once you have a certain no of like (it used to be 25, but think it's a little lower now) visit https://www.facebook.com/username/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文