Represents a collection of the most recently published photo and video IG Media objects that have been tagged with a hashtag.
Available for the Instagram API with Facebook Login.
This operation is not supported.
Returns a list of the most recently published photo and video IG Media objects published with a specific hashtag.
Type | Description |
---|---|
If the token is from a User whose Page role was granted via the Business Manager, one of the following permissions is also required: | |
A User access token of a Facebook User who has been approved for tasks on the connected Facebook Page. |
limit
of 50 results per page.username
field on returned media objects.after
cursor for paginated results; a before
cursor will not be included. In addition, the after
cursor value will always be the same for each page, but it can still be used to get the next page of results in the result set.GET /<IG_HASHTAG_ID>/recent_media?user_id=<USER_ID>&fields=<LIST_OF_FIELDS>
Parameter | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A comma-separated list of fields on a media object
| ||||||||||||||||||||
| The ID for person querying the data |
GET graph.facebook.com/17873440459141021/recent_media ?user_id=17841405309211844 &fields=id,media_type,comments_count,like_count
An array of IG Media objects. Excess results will be paginated.
{ "data": [ { "id": "17880997618081620", "media_type": "IMAGE", "comments_count": 84, "like_count": 177 }, { "id": "17871527143187462" "media_type": "IMAGE", "comments_count": 24, "like_count": 57 }, { "id": "17896450804038745" "media_type": "IMAGE", "comments_count": 19, "like_count": 36 } ], "paging": { "cursors": { "after": "NTAyYmE4..." }, "next": "https://graph.facebook.com/..." } }
This operation is not supported.
This operation is not supported.