'The ways to programmatically like a photo on instagram? [closed]

Is there any way that we can like someones photos programmatically if we have the public photo URL?. The interface I'm trying to develop will be look like that I will log in to my insta account from swiftui program. Then I will enter a public photo URL of some other person, when I click a button it should trigger a like to the that public photo of the URL.

Example public photo URL : https://www.instagram.com/p/AABBCC123

enter image description here



Solution 1:[1]

Ways You Can Do It :

  1. You get an api to do it
  2. Or Create a Web scraping in background or somewhere on server and then send back data
  3. Last Analyse/Debug Instgram to get what server is doing where the request is going with headers and all that cookies (it's awful)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Adarsh Raj