Hashtag Interaction Users
- Endpoint Path:
/api/v2/hashtag/{hid}/interaction/{type}
- Method:
GET
- Request:
Rest
+Query
Headers Optional Parameter
Parameter Name | Public Mode (Required) | Private Mode (Required) |
---|---|---|
X-Fresns-Aid | optional | required |
X-Fresns-Aid-Token | optional | required |
X-Fresns-Uid | optional | required |
X-Fresns-Uid-Token | optional | required |
Rest Params
Parameter Name | Type | Required | Description |
---|---|---|---|
hid | String | required | Hashtag slug |
type | String | required | View type likers ,dislikers ,followers ,blockers |
Query Params
Parameter Name | Type | Required | Description |
---|---|---|---|
orderDirection | String | optional | Sort by direction asc ,desc , Default: desc |
whitelistKeys | String | optional | Whitelist key names, only returns key-value pairs for the given key names Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays |
blacklistKeys | String | optional | Blacklist key names, removes specified key-value pairs from the returned data Multiple separated by English commas, supports "dot notation" for multi-dimensional arrays |
pageSize | Number | optional | Number of items per page (default 15 items) |
page | Number | optional | Page number (default 1) |
Request Description
type=likers
Get the list of users who likedhid
.type=dislikers
Get the list of users who dislikedhid
.type=followers
Get the list of users who followedhid
.type=blockers
Get the list of users who blockedhid
.- The interface will decide whether to output data based on the configuration table settings
Operations > Interaction > View interaction log settings
.hashtag_likers
configuration, whether to output users who liked ithashtag_dislikers
configuration, whether to output users who disliked ithashtag_followers
configuration, whether to output users who followed ithashtag_blockers
configuration, whether to output users who blocked it
orderDirection
The sort direction is sorted by creation time.
Return
json
{
"code": 0,
"message": "ok",
"data": {
"pagination": {
"total": "Number / How much data in total",
"pageSize": "Number / How much data on each page",
"currentPage": "Number / Current page number",
"lastPage": "Number / Last page number"
},
"list": [
{
// Common Data Structure -> User Info
}
]
}
}