I want to fetch a users instagram profile photo url for an app I'm building. I created a Meta dev account, added my app and then added the Instagram Basic Display product. A dummy account was added to Instagram Testers in order to generate an access token.
So it's possible to get all photo urls by making a request to https://graph.instagram.com/me/media?fields={fields}&access_token={access-token}. But there doesn't seem to be a way of identifying which one is used in the profile.
It appears that there is a profile_pic field, but it's on the Graph api rather than the Basic Display api which I'm using. The Graph api is for businesses or creators so is not appropriate for what I'm building.
Not sure why a publicly available asset like a profile photo is so difficult to obtain via the api.
Note: There may be other questions similar to this out there, but any I've found have been older and on a depreciated version of the api. It's changed a lot recently.