convert IG username to UserID without API Token

arioman

Newbie
Joined
Sep 6, 2018
Messages
5
Reaction score
2
hello

i need to convert Instagram username to UserID with script

with this url address https://www.instagram.com/[myusername]/?__a=1 i can see the profile info also userID , but i cant find anyway to extract and save UserId data from it

var_dump(file_get_contents('https://www.instagram.com/myusername/?__a=1')); will send bool(false) in output

is there any chance to convert username to userId without need to create api and token in Facebook ?
 
Back
Top