Я попытался поделиться на facebook, но не смог ничего поделиться. код, который я использовал это: -Как получить доступ к доле FB в BB10?
В Javascript
FB.init({
appId: 'some id',
cookie: true,
status:true,
xfbml:true,
oauth:true
});
function postToFeed() {
// calling the API ...
var obj = {
method: 'feed',
link: 'http://www.example.com',
picture: imageToShare,
name: 'name',
caption: 'This Link is Shared through the some application.',
description: ''
};
function callback(response) {
//document.getElementById('msg').innerHTML = "Post ID: " + response['post_id'];
}
FB.ui(obj, callback);
}
В конфигурационном файле
<access uri="http://connect.facebook.net" />
Спасибо заранее.
Hi chadtatro, Я получаю сообщение об ошибке «invocation error: INVOKE_NO_TARGET_ERROR» Могу ли вы, пожалуйста, помочь мне? Спасибо – Arpit