A
A
Alexander Gonchurin2015-03-30 11:03:28
Ruby on Rails
Alexander Gonchurin, 2015-03-30 11:03:28

How to login to instagram from your form?

Most of all, what is the address for sending a POST request to Instagram. It is necessary that by entering the login and password in your form, you can log in to Instagram.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladislav Bushuev, 2015-03-30
@redstar

You definitely need to use the API
, but it won’t work from your form, it will either transfer to the Instagram website, or their authorization form will open in a separate window. (My opinion, and there we can get it)

I
Ilya Korablev, 2015-03-30
@swipeshot

Use the API.
Then transfer the user to Instagram so that he logs in.

L
Lexans, 2015-03-30
@Lexans

What requests are sent can be viewed in the chrome developer tool by f12,
we see that the request is sent to https://instagram.com/accounts/login/ajax/ however, the response is received in the form, as I understand it, json, and not the page where the user needs to be transferred. You need to make a form that first sends a request (namely from the ip of the user and not the server - that is, force the browser itself in the background to send a post request for authorization, receive cookies and then send it to the main instagram). I can make this form by Thursday-Friday

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question