如何获得发布数据

时间:2012-08-27 14:15:33

标签: javascript facebook-javascript-sdk

我的代码在javascript中如下,但响应为空。

var query = FB.Data.query("SELECT link_id, owner, owner_comment, created_time, title, summary, url, image_urls FROM link WHERE owner="+response.id+"url = 'http://xys.com/xyz'");
                 query.wait(function(rows) {alert(rows);return false;
   if(!rows[0]){
   alert('You have not Liked the Page.');
   }else{
   alert('Congratulations!!!');
   //document.promocode.submit();
   }
                 });

0 个答案:

没有答案