I'm building an application in PHP, and seeing that the Instagram API has changed.
I need to give "me gusta"
to a post with the authorization of my account.
This publication of my other account, belongs to sandbox
of the application, so there should be no problem, but apparently the endpoint
no longer exists.
The "like" action is as follows:
https://api.instagram.com/v1/media/"id_media"/likes?access_token="my_token"
I do not know what is the new way to execute this action, I have not found it in the Instagram API documentation either, it returns the following error:
{"meta": {"code": 400, "error_type": "APINotAllowedError", "error_message": "This endpoint has been retired"}}
Thanks in advance.