if (this.fluidbook.settings.whatsapp) {
shareLinks['whatsapp'] = 'WhatsApp';
}
- if (this.fluidbook.settings.googleplus) {
- shareLinks['googleplus'] = 'Google Plus';
- }
if (this.fluidbook.settings.linkedin) {
shareLinks['linkedin'] = 'LinkedIn';
}
- if (this.fluidbook.settings.viadeo) {
- shareLinks['viadeo'] = 'Viadeo';
- }
if (this.fluidbook.settings.pinterest) {
shareLinks['pinterest'] = 'Pinterest';
}
this.fluidbook.wopen('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(this.getShareURL(url)), 'share_facebook', 'width=650,height=400');
this.fluidbook.stats.track(12);
},
- sendGoogleplus: function (url, context) {
- this.fluidbook.wopen('https://plus.google.com/share?url=' + encodeURIComponent(this.getShareURL(url)), 'share_googleplus', 'width=600,height=600');
- this.fluidbook.stats.track(12);
- },
sendLinkedin: function (url, context) {
this.fluidbook.wopen('https://www.linkedin.com/cws/share?url=' + encodeURIComponent(this.getShareURL(url)) + '&isFramed=true&_ts=' + Date.now(), 'share_linkedin', 'width=650,height=400');
this.fluidbook.stats.track(12);
},
- sendViadeo: function (url, context) {
- this.fluidbook.wopen('http://www.viadeo.com/shareit/share/?url=' + encodeURIComponent(this.getShareURL(url)), 'share_viadeo', 'width=650,height=400');
- this.fluidbook.stats.track(12);
- },
sendPinterest: function (url, context) {
this.fluidbook.wopen('http://pinterest.com/pin/create/button/?url=' + encodeURIComponent(this.getShareURL(url)) + '&media=' + encodeURIComponent('https://workshop.fluidbook.com/services/facebook_thumbnail?id=' + this.fluidbook.settings.id + '&j=' + Date.now()) + '"', 'width=650,height=400');
this.fluidbook.stats.track(12);