Thunderer
Thunderer

Reputation: 159

Getting all hashtags from a user

I need some pointers in how to achieve the following results:

Currently, I do not see how can I POST userID and get all the hashtags user has, is it even possible or can someone suggest a workaround?

Upvotes: 0

Views: 648

Answers (1)

Amir Rahimi Farahani
Amir Rahimi Farahani

Reputation: 1590

By using the /tags/tag-name/media/recent API endpoint and providing a count parameter you can receive more than 20 photos doing the pagination.

There are no API endpoints to get all the tags for a specified user. You may query all the media posted by that user (/users/user-id/media/recent) and extract the used hashtags.

Upvotes: 1

Related Questions