Facebook Fb.UI and “An error occurred. Please try again later.”
If you tried to make feed posting via javascript
1
2
3
4
5
6
7 FB.ui({
method: 'feed',
name: 'Title',
link: 'http://example.com',
picture: 'http://example.com/image.jpg',
description: 'description'
});
but have error message “An error occurred. Please try again later.”.
To solve this just add your application id as app_id parameter
1
2
3
4
5
6
7
8 FB.ui({
method: 'feed',
name: 'Title',
link: 'http://example.com',
picture: 'http://example.com/image.jpg',
description: 'description',
app_id: YOUR_APPLICATION_ID
});
I hope it is help somebody. Write you comments.
-
cettox
