Please help. The facebook feed is showing the following error
Please help. What should i do.
I am using facebook Javascript SDK, and here is my code to make a facebook feed. when i run this function a new window appears with this error
function fb_share() {
var name = $('input.name').val();
var link = $('input.link').val();
var caption = $('input.caption').val();
FB.ui( {
method: 'feed',
name: name,
link: link,
caption: caption
}, function( response ) {
if ( response !== null && typeof response.post_id !== 'undefined' ) {
console.log( response );
}
} );
}