Feed对话框 - “发生错误。请稍后重试“ [英] Feed Dialog - "An error occurred. Please try again later"

查看:116
本文介绍了Feed对话框 - “发生错误。请稍后重试“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用以下代码发布到用户墙上。我从developer.facebook获取了这段代码。但是在打开对话框时会收到错误,如发生错误,请稍后重试。

I am using the following code to post into users wall.I took this code from developer.facebook. But getting error like "An error occurred. Please try again later" while opening the dialog.

FB.ui(
  {
method: 'feed',
name: 'Facebook Dialogs',
link: 'http://developers.facebook.com/docs/reference/dialogs/',
picture: 'http://fbrell.com/f8.jpg',
caption: 'Reference Documentation',
description: 'Dialogs provide a simple, consistent interface for applications"
 },
   function(response) {
if (response && response.post_id) {
  alert('Post was published.');
} else {
  alert('Post was not published.');
}
 }
 );

请分享想法来解决这个问题

Please share ideas to fix this

推荐答案

在我的情况下,我只是在Facebook上设置我的应用程序开发人员网站为 public

In my case i just set my application at the facebook developer site to be public

这篇关于Feed对话框 - “发生错误。请稍后重试“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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