I have been using Factual Places & Crosswalk API to get Social Media links on some specific places on my iOS app. The API
returns proper links for Facebook & Twitter. But for Instagram it just return an id
, something like this 79471948
.
I was wondering how I can make use of this id
. I thought I could use it in a URL
, something like this. http://instagram.com/79471948, But this does not exists.
Then I thought the id
could be a user-id
. If it is a user-id
I wanna get the username
of the corresponding user-id
so that I open his profile page something like this http://instagram.com/79471948. But as we know that Instagram
does not allow us to directly request for User Data without OAuth
we can't get access token. Without getting access token, I cant get the username
.
So do you guys have any suggestions? So the whole thing is, I have this id 79471948
and I wanna open up the corresponding profile without doing any OAuth.
Thanks in Advance.
You have to use API to get the user profile from user-id.
https://www.picodash.com/@ allows you to search for a
user-id
and view the full profile or open actualinstagram.com/username
link and view.