Get Reactions doesn't work

62 views
Skip to first unread message

Dulcinea Donati

unread,
Oct 26, 2016, 10:41:30 PM10/26/16
to Facebook4J
Dear developers,
I cannot succeed to get reactions to a post.

  • I have no problems getting information about the likes, 
  • I have no problems getting information about reactions from the developer tools page (https://developers.facebook.com/tools/explorer)
  • I have no problems getting reactions with the url GET /v2.8/{post-id}/reactions HTTP/1.1
Why it is not working?

Post p = ...
PagableList<Reaction> reactions = p.getReactions();

// reaction.size() == 0  even if I have reactions to the post.
p
.getLikes(); // works like a charm.

I am using
<dependency>
   
<groupId>org.facebook4j</groupId>
   
<artifactId>facebook4j-core</artifactId>
   
<version>[2.4,)</version>
</dependency>

Thank you!
Message has been deleted

Antonio Teixeira

unread,
Jan 20, 2017, 12:13:56 PM1/20/17
to Facebook4J


any luck with this?
im facing the same problem
Reply all
Reply to author
Forward
Message has been deleted
0 new messages