Home » Php » api – Simple way of getting instagram user name from image url (php)

api – Simple way of getting instagram user name from image url (php)

Posted by: admin February 25, 2020 Leave a comment

Questions:

someone knows a simple way of getting the username (or user-id) of an Instagram user via an image URL without the official API?

example:
I have this URL https://www.instagram.com/p/B8jEbu2A6CI/

now I want to get the username (panelpromo222)

How to&Answers:

I found a solution over the Instagram api

https://api.instagram.com/oembed/?url=https://www.instagram.com/p/B8jEbu2A6CI/