Answer the question
In order to leave comments, you need to log in
How to like a photo using instagram api?
You need to like the photo on instagram, through the instagram api.
Link example: https://www.instagram.com/p/B6PpcoQlERi/
How to implement it? Help me please.
Answer the question
In order to leave comments, you need to log in
There are no endpoints for adding likes in the documentation (and cheating likes would then be elementary). The most obvious way is to emulate user actions (eg through Selenium WebDriver ) - write a script to open a link in a browser and click on a like in php or python. Perhaps you will be banned for cheating, but this is a separate problem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question