facebook graph api determine if user likes url

后端 未结 6 1320
-上瘾入骨i
-上瘾入骨i 2021-02-09 17:20

I want to display a different message if a user is currently logged in to facebook and likes the current page. I understand:

FB.Event.subscribe(\'edge.create\'         


        
6条回答
  •  一个人的身影
    2021-02-09 17:51

    save user id or third_party_id in database when the user liked the link

    to Get third_party_id

    graph.facebook.com/me/?fields=third_party_id&access_token=xxx

提交回复
热议问题