x123
x123

Reputation: 71

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

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)

Upvotes: 0

Views: 1883

Answers (2)

user6337390
user6337390

Reputation:

So then ... you not only get the user_id and fbid like this ... https://www.instagram.com/panelpromo222/?__a=1

So ... we may not necessarily ... be amused ...

Upvotes: 0

x123
x123

Reputation: 71

I found a solution over the Instagram api

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

Upvotes: 3

Related Questions