I am looking for a way to get the profile link of an Instagram user. My app is written in Go and gets data from hashtag instagram API. From this endpoint I know only username and got parmalink but cannot get user profile picture. I think it might be related to the token limit to use the API service to get user data.
I tried many ways to get this information but I got some problems.
- Get request data from
https://www.instagram.com/{user-name}/
and scape with goscaper but after some time Instagram redirects to the login page. - Get request data from
https://www.instagram.com/{user-name}/?__a=1
got the same problem, Instagram redirects to login. Any way to avoid being redirected ? - Get request from permalink but goscaper cannot scape profile link user for me
Anyone has an idea?