How to react to a post using graph api and php sdk?

Question

So I can like a post given the id:

$makeLike = $fb->post('/' . $valueid. '/likes',array(), $page['access_token']);

but how do I react to the post, such as wow, angery, etc...?

FB docs say you can't create a reaction endpoint, but I know this isn't true as I have seen other apps do this, and it would make no sense to be able to like and not react.


Show source
| facebook   | php   | api   | graph   | sdk   2016-12-10 23:12 1 Answers

Answers ( 1 )

  1. 2016-12-10 23:12

    Documentation says you can't.

    Creating

    You can't perform this operation on this endpoint.

    Updating

    You can't perform this operation on this endpoint.

    Deleting

    You can't perform this operation on this endpoint.

◀ Go back