Jump to content
Sign in to follow this  

Instagram authentification on Gramfeed

Recommended Posts



I know how to login to Instagram

Func Ig_Login($Ig_User, $Ig_Passwort)
   $HTML = _WinHttpSimpleSSLRequest($Ig_Connect, 'GET', '/accounts/login/?force_classic_login&hl=de')
   $Ig_Token = StringRegExp($HTML, 'name="csrfmiddlewaretoken" value="(.+?)"', 3)[0]
   $postData = 'csrfmiddlewaretoken=' & $Ig_Token & '&username=' & $Ig_User & '&password=' & $Ig_Passwort
   $referer = 'https://www.instagram.com/accounts/login/?force_classic_login&hl=de'
   $HTML = _WinHttpSimpleSSLRequest($Ig_Connect, 'POST', '/accounts/login/?force_classic_login&hl=de', $referer, $postData)
   If StringInStr($HTML, 'profil') Then
      Return True
      Return False

but as soon as i want to authentificate my instagram account on Gramfeed it seems to have some problems,

The Sign In Button redirects to https://www.instagram.com/accounts/login/?force_classic_login=&next=/oauth/authorize%3Fscope%3Dcomments%2Blikes%2Brelationships%26redirect_uri%3Dhttp%3A//www.gramfeed.com/oauth/callback%3Fpage%3Dmain%26response_type%3Dcode%26client_id%3Db59fbe4563944b6c88cced13495c0f49, from there i have to login, but then as soon as i login i cant go on, because it redirects to "http://www.gramfeed.com/oauth/callback?page=main&code=???"

And i dont know how to get the code...

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.