# 如何通过API获取特定用户的提及？

**URL:** https://meta.discourse.org/t/how-to-get-mentions-for-a-specific-user-via-the-api/203113
**Category:** Development
**Tags:** rest-api
**Created:** [2021年九月9日 20:43 UTC](https://meta.discourse.org/t/how-to-get-mentions-for-a-specific-user-via-the-api/203113 "2021-09-09T20:43:35Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2021年九月9日 21:53 UTC](https://meta.discourse.org/t/how-to-get-mentions-for-a-specific-user-via-the-api/203113/3 "2021-09-09T21:53:27Z")

</div>

那就是 `https://meta.discourse.org/user_actions.json?offset=0\u0026username=falco\u0026filter=7`，其中 `falco` 是目标用户名。

你可以通过 [如何逆向工程 Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576) 来了解这些 API 端点。

---

_[View the full topic](https://meta.discourse.org/t/how-to-get-mentions-for-a-specific-user-via-the-api/203113)._
