Verify User Commented on a Tweet
This endpoint provides a convenient way to check if a user identified by user_id posted a comment in response to a tweet identified by tweet_id. This endpoint only detects direct replies to a target tweet, and not comments posted under other comments.
The endpoint returns an array of comment_ids taking into account that a single user may have posted more than a single reply.
Path parameters
The numeric ID of the target tweet. When using languages where the id value exceeds the default Integer type limit (e.g., JavaScript), you should store id as a String. Use the id_str property returned by the API for these values.
The numeric ID of the user. When using languages where the id value exceeds the default Integer type limit (e.g., JavaScript), you should store id as a String. Use the id_str property returned by the API for these values.
Response
Request succeeded
Example response
{
"status": "success",
"is_commented": true,
"comment_ids": [
"1111111...",
"2222222..."
]
}