Skip to content
Advertisement

Tag: instagram-api

Refreshing Instagram long-lived access token works in browser (http) but not PHP (curl)

hope you can help. I’m trying to implement Instagram’s Basic Display API but unfortunately I’m running into problems generating a long-lived access token or refreshing an existing long-lived token using PHP/cURL. It seems I’m far from the only one having this or similar issues. I followed Facebooks getting-started guide (located here) and was able to generate a short-lived access token,

How to get video from Instagram public access API?

I know that this api is working to get images but how about videos? https://www.instagram.com/username/?__a=1 I was able to get the thumbnail of the video but not the source or the url itself. Answer When you make above API call it would return code in it. looks something like this: BWhyIhRDBCw Whenever your media nodes has “is_video”: true you can

Get Instagram tagged user photos

How to get all Instagram tagged user photos? For example, I have user “user123”, and someone tagged me. How to get all images with @user123? https://api.instagram.com/v1/tags/@user123/media/recent?access_token=%%%&count=9 not working. Answer Currently there is no API to get all photos which has a user tagged. You can get all tagged users for a photo via API, but not all photos of a

Advertisement