> ## Documentation Index
> Fetch the complete documentation index at: https://x-preview-oauth-2-ios.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Retweets of Me

export const Button = ({href, children}) => {
  return <div className="not-prose group">
    <a href={href}>
      <button className="flex items-center space-x-2.5 py-1 px-4 bg-primary-dark dark:bg-white text-white dark:text-gray-950 rounded-full group-hover:opacity-[0.9] font-medium">
        <span>
          {children}
        </span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

The Reposts of Me lookup allows you to see which of your own Posts have been shared by others.

This provides users with insight into which of their Posts are being shared and resonating with their audience, which can help facilitate more targeted interactions and content strategy adjustments.

#### Authentication

Since you are making requests on behalf of a user, you must authenticate these endpoints with either [OAuth 1.0a User Context](/resources/fundamentals/authentication) or [OAuth 2.0 Authorization Code with PKCE](/resources/fundamentals/authentication#oauth-2-0-authorization-code-flow-with-pkce-2), and utilize the user Access Tokens associated with the user you are making the request on behalf of. You can generate this user Access Token using the [3-legged OAuth flow](https://developer.x.com/resources/fundamentals/authentication/obtaining-user-access-tokens) (OAuth 1.0a) or using the [Authorization Code with PKCE grant flow](/resources/fundamentals/authentication#oauth-2-0-authorization-code-flow-with-pkce-3) (OAuth 2.0).

#### Making a request

Once a user has authenticated with your app, you can call the Retweets of Me API on behalf of user as shown below:

```bash theme={null}
curl 'https://api.x.com/2/users/reposts_of_me' --header 'Authorization: ••••••'
```

If the request is successful, you should see the JSON response as shown below:

```
{
   "data": [
       {
           "text": "ever wanted to discover trends.. before they’re trends?\n\nsign up to Premium+ to access Radar\n\nhttps://t.co/7a3JzBb855 https://t.co/rwNogVs0Wi",
           "edit_history_tweet_ids": [
               "1848781937210802364"
           ],
           "id": "1848781937210802364"
       },
       {
           "text": "want to be mysterious so bad but also love oversharing on x dot com",
           "edit_history_tweet_ids": [
               "1847990559081648620"
           ],
           "id": "1847990559081648620"
       },
       {
           "text": "post",
           "edit_history_tweet_ids": [
               "1847990269125226937"
           ],
           "id": "1847990269125226937"
       },
       {
           "text": "posting is just journaling with an audience",
           "edit_history_tweet_ids": [
               "1847429017932026009"
           ],
           "id": "1847429017932026009"
       },
   ],
   "meta": {
       "result_count": 4,
       "next_token": "7140dibdnow9c7btw481s8m561gat797rboud5r80xvzm"
   }
}
```
