Reputation: 159
I need some pointers in how to achieve the following results:
Afterwards, I would like to get all the hashtags used by a given userID. I would like to get a set of hashtags used per userID in a following manner:
{userID},{#snow,#sunny#life, and the rest of hashtags associated with that userID}
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
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