Login with Invoke-WebRequest to Instagram

  • Thread starter Thread starter davidsimonsen
  • Start date Start date
D

davidsimonsen

Guest
Hi Guys!

Do you know if it is possible to login to Instagram with the Invoke-WebRequest function? I know that you can log in to login pages with the .Fields attribute but i does not work on Instagram.

$azr = Invoke-WebRequest -uri "Instagram" -SessionVariable sbv
$dbform = $azr.Forms[2]
$dbform.Fields["Username"]="username"
$dbform.Fields["Password"]="password"
$r = Invoke-WebRequest -uri ("Instagram") -WebSession $sbv -Method Post -Body $dbform.Fields

Continue reading...
 
Back
Top