Social Actions API
Verify User Retweeted a Tweet
This endpoint provides a convenient way to check if a user retweeted a tweet identified by tweet_id. This will recursively retrieve all users who recently retweeted a tweet and check if the user_id is present among the retrieved users.
get/twitter/tweets/{tweet_id}/retweeted_by/{user_id}
Path parameters
tweet_idstring required
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.
user_idstring required
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
{
"source_user_id": "44196397",
"target_tweet_id": "1319287761048723458"
}