Hi Guys, i am struggling with sharing image stored from cfs collection to Facebook using Facebook Connect Pluggin. I really need help on how to share the image url Facebook Connect image url tag.
Please Help!
Template.teacher.events({
'click .student_picture_share': function(event){
var student_image_id = this._id;
var this_picture = Images.findOne({_id:student_image_id});
facebookConnectPlugin.showDialog({
method: "share",
picture: this_picture,
name:'Test Post',
message:'First photo post',
caption: 'Testing using phonegap plugin',
description: 'Posting photo using phonegap facebook plugin'
}, function (response) {
console.log(response)
}, function (response) {
console.log(response)
}
);
}
});
Thank You So Much.
Laurent Kouassi,