Answer the question
In order to leave comments, you need to log in
Instagram api. How to get photos by tag?
Hello!
I need to implement search by tags in instagram. I already started a sandbox for myself, set up authorization, but I can’t get data from Instagram.
Instagram has an endpoint /tags/tag-name/media/recent
, but it asks me for `MAX_TAG_ID`, which I don’t understand where to get it from. In turn /locations/search
(search by geolocation) returns an empty data object.
I use this library https://www.npmjs.com/package/node-instagram
Please tell me how to work with this beast.
Answer the question
In order to leave comments, you need to log in
Here
// Get information about a tag object.
instagram.get('tags/:tag-name').then((data) => {
console.log(data);
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question