Facebook Like Box: How to detect if user already liked the page?

前端 未结 2 747
没有蜡笔的小新
没有蜡笔的小新 2021-01-15 23:20

I have installed the Like Box in my blog, and I want to know if the user already like my page. I want to implement something like this to my reader because I want to offer t

2条回答
  •  时光取名叫无心
    2021-01-15 23:31

    If you are using the XFBML version of the Like Box, you can subscribe to the 'edge.create' event through FB.Event.subscribe.

提交回复
热议问题