Добрый день
Нас странице http://aether[dot]buybery[dot]org/#/goods-page/product:199 выводится лайк фб но в консоле сыпятся предупреждения
CODE ( htmlphp):
скопировать код в буфер обмена
Blocked a frame with origin "http://static.ak.facebook.com" from accessing a frame with origin "http://static.ak.facebook.com". The frame requesting access set "document.domain" to "facebook.com", but the frame being accessed did not. Both must set "document.domain" to the same value to allow access.
при нажатии такого же рода ошибки
CODE ( htmlphp):
скопировать код в буфер обмена
Blocked a frame with origin "https://www.facebook.com" from accessing a frame with origin "http://static.ak.facebook.com". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.
вот код подключения фб
CODE ( javascript):
скопировать код в буфер обмена
(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/ru_RU/all.js#xfbml=1&appId=id"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));
CODE ( html):
скопировать код в буфер обмена
<div class="fb-like" data-href="http://aether[dot]buybery[dot]org/#/goods-page/product:199" data-send="false" data-layout="button_count" data-width="250" data-show-faces="true"></div>
и следовательно лайк на фб не уходит Отредактировано администратором: EuGen, 26 Июля, 2013 - 19:46:03 Пожалуйста, заменяйте разделители доменов в ссылках на [dot], так как прямые ссылкине разрешаются на конференции
|