クリックイベントのようなFB OTHERページを検出する方法は? 私はあるページにログインしていますが、他のIDページのボタンが好きです。
FB.init({
appId : '8888888888', // App ID
channelUrl : 'http://channel.com',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true, // parse XFBML
});
FB.login(function(response) {
if (response.status == 'connected') {
var other_page_id = "333333333333";
FB.api('/me/likes/'+other_page_id, function(response) {
// check already liked other_page on start...
});
}
});
FB.Event.subscribe('edge.create', function(response) {
//user just clicked "like" on MY page (id=8888888888), but I need other_page_id (id=333333333333) click event...
});