luiscarlosjayk/angular-facebook

Is it possible use FB.ui function?

rochapablo opened this issue · 1 comments

I'm using the angular-facebook for login, but now I also want to share links. So as the doc says:

FB.ui({
  method: 'share',
  href: 'https://developers.facebook.com/docs/',
}, function(response){});

... I'm wondering how to use the package to share.

Never mind, just use:

Facebook.ui({
      method: 'share',
      quote: '',
      href: ''
    }, function(response) {
      console.log(response);
    });