您可以使用关键词搜索来搜索帖子,或检索与某个特定用户相关的帖子和提及内容。
检索用户的帖子和提及支持基于游标的分页,因此如果响应包含多页数据,则该响应将包含 before 和 after 游标。与基于游标的标准分页不同,响应不会包含 previous 或 next 字段,因此,您将需要使用 before 和 after 游标手动构建 previous 和 next 查询字符串,以便翻页浏览返回的数据集。
curl -s -X GET \ https://graph.threads.net/17841405822304914/mentions?fields=id,username&access_token=EAADd...
{
"data": [
{
"id": "18038...",
"username": "keldo..."
},
{
"id": "17930...",
"username": "ashla..."
},
{
"id": "17931...",
"username": "jaypo..."
}
]
}