Use HTTPS for Facebook.

master
Artem Sapegin 2014-02-03 15:07:40 +04:00
parent baccba85fb
commit e923fde406
1 changed files with 2 additions and 2 deletions

View File

@ -32,11 +32,11 @@ var openClass = prefix + '_opened';
*/
var services = {
facebook: {
counterUrl: 'http://graph.facebook.com/fql?q=SELECT+total_count+FROM+link_stat+WHERE+url%3D%22{url}%22&callback=?',
counterUrl: 'https://graph.facebook.com/fql?q=SELECT+total_count+FROM+link_stat+WHERE+url%3D%22{url}%22&callback=?',
convertNumber: function(data) {
return data.data[0].total_count;
},
popupUrl: 'http://www.facebook.com/sharer/sharer.php?u={url}',
popupUrl: 'https://www.facebook.com/sharer/sharer.php?u={url}',
popupWidth: 600,
popupHeight: 500
},