This function is called by a ng-click
on a button in my view, but is not returning anything on the console.
Can anyone help me?
$scope.shareContent = function(){
window.fbAsyncInit = function(){
FB.init({
appID : '1565222510432359',
status : true,
xfbml : true,
version : 'v2.3'
});
var obj = {
method : 'feed',
name : 'Teste',
link : 'https://developers.facebook.com/docs/',
caption : 'teste exemplo'
}
FB.ui(obj,function(response){});
};
}