I can share any link on facebook using this:
FB.ui(
{
method: 'feed',
name: 'TagBin',
link: 'https://tagbin.in',
picture: '',
caption: 'tagbin-share',
description: 'tagBin provide a simple, consistent interface for sharing links.'
},
function(response){
if (response && response.post_id) {
alert('Post was published.');
} else {
alert('Post was not published.');
}
})
but it opens a dialogue box, can i do it without opening dialogue box. Thanks....
在墙上->否在团体上->最好与dilog一起使用,否则将导致垃圾邮件
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.