Custom login with Instagram API

I am working on an application for IG and look at other websites that use the IG API. I stumbled upon this website, which allows the user to log in by entering my username and password directly on the website. He can then access the API and get things like the number of followers, but without user authentication by the API, as is usually required. An application can even perform functions such as liking photos using your account, which, as far as I know, also requires you to authenticate the application with elevated privileges.

My question is: how can this application connect to users without using OAUTH, which is the only authentication method ?

+4
source share
3 answers

They probably use a web automation infrastructure such as Selenium to perform actions such as auto-linking content by actually logging in to the Instagram website with account credentials and simulated mouse clicks, etc., to perform this job. In other words, their “script” just looks like a very active Instagram user, because all this is due to the interaction between the web browser and their website.

API. , :

  • OAuth, access_token
  • , .
  • , , API. . " "

API- Instagram Instagram, , Instagram.

, , , Instagram "".

, , , , , Instagram , , , .. , .

0

Instagram, , HTTP/HTTPS . , , http Instagram.

- - ( -). - -, Instagram, , ..

, http. https, . Fidler .

0

, :

PHPSESSID , . index.php.

, index.php "" Chrome, , "cookie: _ instamacro_advcontent = 1; PHPSESSID =" index.php "".

, Vine API ( , btw). PHP , api.php, Vine API . OAUTH. cookie "x-vine-session".

0

Source: https://habr.com/ru/post/1525744/


All Articles