Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Feed Dialog - "An error occurred. Please try again later"

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

like image 226
my name is xyz Avatar asked Nov 23 '25 03:11

my name is xyz


1 Answers

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

set the app public

like image 58
evya Avatar answered Nov 25 '25 00:11

evya