I was using beacons.ai and found a feature where you can add a username of -twitter -instagram -tiktok and it fetches the profile pic, if that user exists on that platform. I wanted to build something similar for fun when I started googling things, I realized, as per my search, that api of instagram doesn't have any such feature. My question: Is it legal to do this? If yes, please guide me in direction, how it can be done in php or js.