Revert "Change Odnoklassniki counter API to work via HTTPS."

This "new" API don't work anymore and won't be supported.

This reverts commit e3f9d54d99.
master
Artem Sapegin 2014-11-20 15:19:30 +03:00
parent 756aaa3302
commit b4b3829c6d
1 changed files with 2 additions and 2 deletions

View File

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