我在角度控制器中使用此代码打开fb共享弹出窗口:
$scope.share = function(title,img,description) {
var title2 = encodeURIComponent(title.trim);
FB.ui(
{
method: 'feed',
name: title,
link: 'http://dittadepner.ro/#/pagArticol/'+title2,
picture: 'http://dittadepner.ro/uploads/'+img,
caption: title,
description: description,
message: ''
}, function(response){});
}
但是当弹出窗口打开时,它是空白的。