开发者

get facebook userId once they like they page/website

I read that we can get teh facebook userId if someone likes my website.. I found the following code which doesnt seem to work, can anyone please help..

/* FB.Event.subscribe('edge.create', function(href) { session = FB.getSession(); uid = session['uid']; alert(asdsdsa); // do whatever you wan开发者_开发技巧t }); */

regards


You're not going to have access to the particular user who's liked your page unless they login to your site in addition to liking your page.

At that point, with the proper permissions, you can check the like status of the user.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜