odnoklassniki now finally support retrieving count of likes over https
parent
dc154ceb13
commit
8bcaa884b7
|
@ -94,8 +94,7 @@
|
||||||
popupHeight: 330
|
popupHeight: 330
|
||||||
},
|
},
|
||||||
odnoklassniki: {
|
odnoklassniki: {
|
||||||
// HTTPS not supported yet: http://apiok.ru/wiki/pages/viewpage.action?pageId=42476656
|
counterUrl: protocol + '//www.ok.ru/dk?st.cmd=extLike&ref={url}&uid={index}',
|
||||||
counterUrl: protocol === 'http:' ? 'http://www.odnoklassniki.ru/dk?st.cmd=extLike&ref={url}&uid={index}': undefined,
|
|
||||||
counter: function(jsonUrl, deferred) {
|
counter: function(jsonUrl, deferred) {
|
||||||
var options = services.odnoklassniki;
|
var options = services.odnoklassniki;
|
||||||
if (!options._) {
|
if (!options._) {
|
||||||
|
@ -111,7 +110,7 @@
|
||||||
$.getScript(makeUrl(jsonUrl, {index: index}))
|
$.getScript(makeUrl(jsonUrl, {index: index}))
|
||||||
.fail(deferred.reject);
|
.fail(deferred.reject);
|
||||||
},
|
},
|
||||||
popupUrl: 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl={url}',
|
popupUrl: 'http://www.ok.ru/dk?st.cmd=addShare&st._surl={url}',
|
||||||
popupWidth: 550,
|
popupWidth: 550,
|
||||||
popupHeight: 360
|
popupHeight: 360
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue