Skip to main content
This guide walks you through retrieving Posts that mention a specific user.
PrerequisitesBefore you begin, you’ll need:
  • A developer account with an approved App
  • Your App’s Bearer Token (for public data) or User Access Token (for private metrics)

Get user mentions

1

Get the user ID

Find the user ID using the user lookup endpoint. For example, @XDevelopers has user ID 2244994945.
2

Request the mentions timeline

cURL
3

Review the response


Filter mentions

Exclude replies

Get only original Posts that mention the user:
cURL

Get mentions in a time range

cURL

Common parameters


Next steps

Home timeline

Get user’s home timeline

Integration guide

Key concepts and best practices

API Reference

Full endpoint documentation

Pagination guide

Navigate large result sets