Answer the question
In order to leave comments, you need to log in
How to get the number of likes for posts with privacy on facebook?
Hello, I don't
know what's going on with the facebook api
. I got permissions in the application - read_stream, read_insights:
doing fql.query:
"query" => "SELECT likes FROM stream WHERE post_id = '100001332747878_400627939985258'"
If this post has any visibility, except For all - then an empty array is returned
. I looked at developers.facebook.com/tools/explorer - I set the read_stream, read_insights rights there - and everything is fine - the request returns a response,
tell me what to do?
PS I have a suspicion that you need to somehow get an eternal access token from the user and use it when executing a request, but I can't find how to do it :(
Answer the question
In order to leave comments, you need to log in
The eternal access_token is unlikely to help here, it only affects whether the token expires or not. By the way, it was recently abolished .
How long did it take between you getting read_stream permissions and your experiments? Sometimes it takes some time for the changed settings to take effect.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question