Я получил и после ошибки
FB.NativeExtensions.onready only works when the page is rendered in a WebView of the native Facebook app. Test if this is the case calling FB.UA.nativeApp()
j @ sdk.js:57
o @ sdk.js:140
a @ sdk.js:141
require @ sdk.js:24
require @ sdk.js:24
require @ sdk.js:24
require @ sdk.js:24
__d @ sdk.js:24
(anonymous) @ sdk.js:147
(anonymous) @ sdk.js:191
(anonymous) @ sdk.js:191
работая над API-интерфейсом GRAPH "v2.11", как я могу это решить?
Вот моя функция init
window.fbAsyncInit = function () {
FB.init({
autoLogAppEvents: true,
status: true,
xfbml: true,
version: 'v2.11'
});
FB.Event.subscribe('comment.create', function (response) {
// Get comment count
});
FB.Event.subscribe('comment.remove', function (response) {
// Get comment count
});
}