I am trying to build a kind of a clone of Instagram, where you have a search field and you can type a user name and display the user profile and media, I know that you can search for a user by ID but how can I get the ID by user name? And also in the documentation, there is no mention of how can I get the number of likes https://developers.facebook.com/docs/instagram-basic-display-api/reference/user/media#reading
So far I've been querying Instagram successfully on for my own media and there is no mention of the likes on the pictures.
`https://graph.instagram.com/me/media?fields=id,media_type,media_url,username,caption&access_token=${process.env.NEXT_PUBLIC_INSTA_USER_TOKEN}`
Is it possible to query Instagram API by the username to get the media with the number of likes?
Thanks