V
V
Vitaly2017-08-29 12:09:25
JavaScript
Vitaly, 2017-08-29 12:09:25

How can I get information about whether a user has liked a page using the FaceBook API?

All the best!
With the help of the facebook api, after authorizing my web application, I try to get information about whether the user liked my page, but for some reason none of the methods I found work :(
FB.api('/me/likes/'+ pageID....
FB.api("/pageID/likes"...
The page is liked, but the answer always comes {data: Array(0)}
Tell me what's wrong

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2019-05-07
@NickProgramm

var first = function () {
  $('body').css("background-image", "repeating-radial-gradient(circle at 200px 100px, #fff, #fff 25px, #fce3ee 25px, #fce3ee 50px)");
  $('body').css("background-attachment", "fixed");
}

or so
https://codepen.io/begprod/pen/NVqPmw

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question