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

# v1 to v2

> If you have been working with the v1.1 timelines endpoints (statuses/user\timeline and. Reference for the X API v2 standard tier covering migrate.

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>;
};

## Standard v1.1 timelines to X API v2 timelines

If you have been working with the v1.1 timelines endpoints (statuses/user\_timeline and statuses/mentions\_timeline), the goal of this guide is to help you understand the similarities and differences between the standard and X API v2 timelines endpoints so that you can migrate your current integration to the new version.

* **Similarities:**
  * Authentication:
    * OAuth 1.0a User Context (reverse chronological home timeline, user Post timeline and user mentions timeline)
    * OAuth 2.0 App-Only (user Post timeline)
  * Historical Access limit: User timeline (user Post timeline) provides access to most recent 3200 Posts; mentions timeline (user mention timeline) provides access to most recent 800 mentions.
  * Support for Post edit history and metadata
  * Rate limits (user Post timeline)
  * Refresh polling: Ability to retrieve new results since the since\_id
  * Traversing timelines by Post IDs
  * Results specifications:
    * Results order: Results returned in reverse chronological order
    * Ability to exclude replies (user Post timeline only)
    * Ability to exclude Retweets (user Post timeline only)
* **Differences**
  * New Authentication capability:
    * OAuth 2.0 App-Only (user mention timeline)
    * OAuth 2.0 Authorization Code Flow with PKCE (reverse chronological home timeline, user Post timeline and user mentions timeline)
  * Access requirements: X API v2 App and Project requirements
  * Rate limits (user mention timeline and reverse chronological home timeline)
  * Additional pagination method
    * Different max\_results (count) per response
  * Response data format
  * Request parameters
    * Custom
