Vote count:
0
I am using the below function for the facebook share buttons. In my website, in a single page itself there will be many facebook share buttons corresponding to each photo. So on clicking on each share buttons, the title, image, description, link etc in the below function change. Is it possible? My site is php. Pls help
function FBShareOp(){
var product_name = 'your title name';
var description = 'description';
var share_image = 'full image url ';
var share_url = 'url to share';
var share_capt = 'caption';
FB.ui({
method: 'feed',
name: product_name,
link: share_url,
picture: share_image,
caption: share_capt,
description: description
}, function(response) {
if(response && response.post_id){}
else{}
});
}
asked 3 mins ago
Aucun commentaire:
Enregistrer un commentaire