streaak / keyhacks

Keyhacks is a repository which shows quick ways in which API keys leaked by a bug bounty program can be checked to see if they're valid.
4.84k stars 1.01k forks source link

fix: changed UserID to Me in Instagram's API #132

Open oppsec opened 1 year ago

oppsec commented 1 year ago

Hello, KeyHacks Team! Hope you're doing well!

Reading Instagram's API documentation I noticed it's not necessary to pass the UserID we can use the Me parameter instead of

Example:

curl -X GET \
  'https://graph.instagram.com/me?fields=id,username&access_token=IGQVJ...'

Documentation URL: https://developers.facebook.com/docs/instagram-basic-display-api/getting-started#etapa-4--autenticar-o-usu-rio-de-teste