0

Please help. The facebook feed is showing the following error

enter image description here

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 );
        }
    } );

}
codersrb
  • 140
  • 1
  • 12

1 Answers1

0

Please Check your Face book APP ID and APP secret . Maybe you did change App domain ( Eg:www.testing.com ) and Contact Email and click Add Platform. In your face book app.

enter image description here