1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

How to verify instagram credentials

Discussion in 'General Programming Chat' started by hydtek, Oct 6, 2015.

  1. hydtek

    hydtek Newbie

    Oct 10, 2014
    Likes Received:
    Hi BHW,

    I have a website where users will enter in their instagram credentials and I will kick off a bot for them. An issue that seems to be re-occurring is that users are entering the incorrect password. Is their a way I can validate their credentials before passing the parameters to my software. I would like to be able to do this via php, javascript or any other web language, built into my form validation.

    I looked into their oath 2.0 for instagram, but every call to their api has to have the user login themselves, and they give me an access token. I want to save the user time and I don't want their access token because they are not using an API I built.

    I could use a webdriver to login to a 3rd party instagram site and scrape information that would validate it completed its login. I really don't want to go this route because it wont be fast, I would have to boot the software up, wait for its results, which could easily take half a minute or more, does anyone have any good insight on the best possible way to do this?

  2. pasdoy

    pasdoy Senior Member

    Jul 17, 2008
    Likes Received:
    Make a script that tries to log using the page not their api. Something like that in python. It is not working because I dont have time to find missing headers or cookies.

    The downside with this method is everybody connects using the same ip, you costumers accounts might get flagged. Proxy won't really help, because if it's too far from the user usual behavior the account could get flagged for a second verification.

    Your api could be kind of a middle man where you gather all the data you need/want. Not sure how it works in production and how it scales though.