Quantcast
Channel: How to redirect user from FB canvas app's feed Post to FB canvas app - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by DKBHOI for How to redirect user from FB canvas app's feed Post to FB canvas app

$
0
0

You may try the bellow code. Some times sequence may be important and implementing function(response) method directly instead of implementing fbCallback works for me.

FB.ui(
      {
       method: 'feed',
       name: 'ManachiApp',
       caption: 'I just want to share',
      description: ('I just want to share on fb wall'),
      link: 'https://apps.facebook.com/manachi/',
      picture: 'http://manachi.herokuapp.com/images/logo_large.jpg'
      },
      function(response) {
        if (response && response.post_id) {
          alert('Post was published.');
        } else {
          alert('Post was not published.');
        }
      }
    ); 

Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>