Change Odnoklassniki counter API to work via HTTPS.

master
Rebrov Boris 2014-10-23 18:00:15 +04:00 committed by Artem Sapegin
parent 97a95b1e72
commit e3f9d54d99
1 changed files with 2 additions and 2 deletions

View File

@ -94,9 +94,9 @@
popupHeight: 330
},
odnoklassniki: {
counterUrl: protocol + '//www.odnoklassniki.ru/dk?st.cmd=shareData&ref={url}&cb=?',
counterUrl: protocol + '//appsmail.ru/share/count/{url}?callback=?',
convertNumber: function(data) {
return data.count;
return data.share_ok;
},
popupUrl: protocol + '//www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl={url}',
popupWidth: 550,