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)
发布评论
评论(2)
我在遗嘱对话框中遇到的一些问题是 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/
正如我在这里发布的 - 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/