> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keyapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 社群时间线

> 获取指定 Twitter / X Community 的帖子时间线，支持排序维度和分页。适用于社群内容采集、社区讨论监测和主题分析。

<div className="inline-flex items-center gap-2 px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg">
  <span className="text-base">🪙</span>
  <span className="text-sm font-medium text-yellow-900 dark:text-yellow-100"><span className="font-semibold">1 credit</span><span className="text-yellow-700 dark:text-yellow-300 ml-1">每次请求</span></span>
</div>

## Copy for AI

<div className="my-6 rounded-xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-800 dark:bg-gray-900/40">
  <div className="min-w-0">
    <p className="text-base font-semibold text-gray-900 dark:text-gray-100">🤖 让 AI 帮你写调用代码</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">点击按钮复制一段结构化提示词，可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。</p>
  </div>

  <div className="mt-4">
    <button type="button" className="inline-flex items-center gap-2 rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 text-sm font-medium text-emerald-800 hover:bg-emerald-100 dark:border-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-100 dark:hover:bg-emerald-900/50" onClick={() => navigator.clipboard.writeText("我想调用 KeyAPI 接口：GET https://api.keyapi.ai/v1/twitter/community_timeline\n\n请帮我编写调用代码，并包含必要的错误处理、参数校验和响应处理逻辑。\n\n接口信息：\n\nEndpoint: GET https://api.keyapi.ai/v1/twitter/community_timeline\n\nDescription: Twitter / X 的「用户帖子列表」接口用于批量查询列表数据，返回基础信息、关键指标和分页信息，适合采集后继续分析。常用必填参数包括 community_id。\n\nRequired Headers:\n--header 'Authorization: Bearer <YOUR_API_KEY>'\n\nParameters:\n- community_id (Required): community_id 标识符. Example: 1783990533192651232\n- ranking (Optional): ranking 参数. Example: Top\n- cursor (Optional): 分页游标，用于获取下一页数据\n\nExample Response:\n{\n  \"code\": 0,\n  \"message\": \"success\",\n  \"data\": {\n    \"timeline\": [\n      {\n        \"tweet_id\": \"2054204252281782583\",\n        \"bookmarks\": null,\n        \"created_at\": \"Tue May 12 14:17:13 +0000 2026\",\n        \"favorites\": 6,\n        \"text\": \"Going to build this tonight https://t.co/fnNsx47aU1\",\n        \"lang\": \"en\",\n        \"source\": \"<a href=\\\"http://twitter.com/download/iphone\\\" rel=\\\"nofollow\\\">Twitter for iPhone</a>\",\n        \"views\": \"5430\",\n        \"screen_name\": \"Oval170\",\n        \"quotes\": 0,\n        \"replies\": 2,\n        \"retweets\": 0,\n        \"media\": {\n          \"photo\": [\n            {\n              \"media_url_https\": \"https://pbs.twimg.com/media/HIH_268bwAAbCA1.jpg\",\n              \"id\": \"2054204224058408960\"\n            }\n          ]\n        },\n        \"author\": {\n          \"rest_id\": \"1714546916950708224\",\n          \"name\": \"Oval\",\n          \"screen_name\": \"Oval170\",\n          \"avatar\": null,\n          \"blue_verified\": true\n        }\n      },\n      {\n        \"tweet_id\": \"2053788049381691740\",\n        \"bookmarks\": null,\n        \"created_at\": \"Mon May 11 10:43:23 +0000 2026\",\n        \"favorites\": 10,\n        \"text\": \"Vix publish does not just fail silently.\\n\\nIf the local registry is out of sync, Vix shows the real Git error, explains what happened, and gives the exact recovery command.\\n\\nRun registry sync, publish again, and continue.\\nC++ package publishing should be predictable from the https://t.co/YBOQi4yuUY\",\n        \"lang\": \"en\",\n        \"source\": \"<a href=\\\"https://mobile.twitter.com\\\" rel=\\\"nofollow\\\">Twitter Web App</a>\",\n        \"views\": \"20439\",\n        \"screen_name\": \"g_kirira\",\n        \"quotes\": 0,\n        \"replies\": 2,\n        \"retweets\": 3,\n        \"media\": {\n          \"photo\": [\n            {\n              \"media_url_https\": \"https://pbs.twimg.com/media/HICFSV6XYAAX2GS.jpg\",\n              \"id\": \"2053787980247031808\"\n            }\n          ]\n        },\n        \"author\": {\n          \"rest_id\": \"1767972133311819776\",\n          \"name\": \"Gaspard kirira\",\n          \"screen_name\": \"g_kirira\",\n          \"avatar\": null,\n          \"blue_verified\": true\n        }\n      },\n      {\n        \"tweet_id\": \"2054147660677034241\",\n        \"bookmarks\": null,\n        \"created_at\": \"Tue May 12 10:32:21 +0000 2026\",\n        \"favorites\": 2,\n        \"text\": \"i love horses\",\n        \"lang\": \"en\",\n        \"source\": \"<a href=\\\"https://mobile.twitter.com\\\" rel=\\\"nofollow\\\">Twitter Web App</a>\",\n        \"views\": \"251\",\n        \"screen_name\": \"StevenLog58\",\n        \"quotes\": 0,\n        \"replies\": 1,\n        \"retweets\": 0,\n        \"media\": [],\n        \"author\": {\n          \"rest_id\": \"1574632960766185474\",\n          \"name\": \"Steven Logan\",\n          \"screen_name\": \"StevenLog58\",\n          \"avatar\": null,\n          \"blue_verified\": false\n        },\n        \"quoted\": {\n          \"tweet_id\": \"2054100387712364977\",\n          \"bookmarks\": 6,\n          \"created_at\": \"Tue May 12 07:24:30 +0000 2026\",\n          \"favorites\": 1068,\n          \"text\": \"Good morning all from my little farm in Georgia https://t.co/u8bALmWhJd\",\n          \"lang\": \"en\",\n          \"views\": \"17492\",\n          \"quotes\": 3,\n          \"replies\": 291,\n          \"retweets\": 148,\n          \"conversation_id\": \"2054100387712364977\",\n          \"author\": {\n            \"rest_id\": \"1661480068831498240\",\n            \"name\": \"John Morgan\",\n            \"screen_name\": \"JohnMorgan64\",\n            \"avatar\": null,\n            \"blue_verified\": true\n          },\n          \"media\": {\n            \"photo\": [\n              {\n                \"media_url_https\": \"https://pbs.twimg.com/media/HIGhak2WoAAsqp7.jpg\",\n                \"id\": \"2054100382997979136\"\n              }\n            ]\n          }\n        }\n      },\n      {\n        \"tweet_id\": \"2053846768018690201\",\n        \"bookmarks\": null,\n        \"created_at\": \"Mon May 11 14:36:42 +0000 2026\",\n        \"favorites\": 5,\n        \"text\": \"Learning how to multiply 2 numbers in a RISC-V CPU that doesn't have a multiply instruction extension (RV32M).\\n\\nCame to a conclusion this algorithm is a bad idea. Need to learn Big-O notation.\\n\\nThis helps me to understand the real cost of bad programming practices. https://t.co/f3DH6uYp24\",\n        \"lang\": \"en\",\n        \"source\": \"<a href=\\\"https://mobile.twitter.com\\\" rel=\\\"nofollow\\\">Twitter Web App</a>\",\n        \"views\": \"1440\",\n        \"screen_name\": \"SBMPimenta\",\n        \"quotes\": 0,\n        \"replies\": 1,\n        \"retweets\": 0,\n        \"media\": {\n          \"photo\": [\n            {\n              \"media_url_https\": \"https://pbs.twimg.com/media/HIC5aPmWYAA66Z0.png\",\n              \"id\": \"2053845290596065280\"\n            }\n          ]\n        },\n        \"author\": {\n          \"rest_id\": \"104920119\",\n          \"name\": \"Sérgio Pimenta\",\n          \"screen_name\": \"SBMPimenta\",\n          \"avatar\": null,\n          \"blue_verified\": false\n        }\n      },\n      {\n        \"tweet_id\": \"2053974918124212665\",\n        \"bookmarks\": null,\n        \"created_at\": \"Mon May 11 23:05:56 +0000 2026\",\n        \"favorites\": 2,\n        \"text\": \"Shader Workshop is finally released (beta)\\n\\nhttps://t.co/XtdeZTwUiD\",\n        \"lang\": \"en\",\n        \"source\": \"<a href=\\\"https://mobile.twitter.com\\\" rel=\\\"nofollow\\\">Twitter Web App</a>\",\n        \"views\": \"1732\",\n        \"screen_name\": \"robertswinkler\",\n        \"quotes\": 0,\n        \"replies\": 1,\n        \"retweets\": 0,\n        \"media\": [],\n        \"author\": {\n          \"rest_id\": \"1647819980120166401\",\n          \"name\": \"Robert Winkler\",\n          \"screen_name\": \"robertswinkler\",\n          \"avatar\": null,\n          \"blue_verified\": true\n        }\n      },\n      {\n        \"tweet_id\": \"2053758355236090204\",\n        \"bookmarks\": null,\n        \"created_at\": \"Mon May 11 08:45:23 +0000 2026\",\n        \"favorites\": 5,\n        \"text\": \"C++ build errors get harder as projects grow, especially with complex CMake setups.\\n\\nVix is not limited to Vix projects. You can use the CLI on any C++ project, including larger codebases, to get cleaner GCC/Clang diagnostics, focused codeframes, and better build feedback. https://t.co/i3XyZomkrU\",\n        \"lang\": \"en\",\n        \"source\": \"<a href=\\\"https://mobile.twitter.com\\\" rel=\\\"nofollow\\\">Twitter Web App</a>\",\n        \"views\": \"2953\",\n        \"screen_name\": \"g_kirira\",\n        \"quotes\": 0,\n        \"replies\": 0,\n        \"retweets\": 0,\n        \"media\": {\n          \"photo\": [\n            {\n              \"media_url_https\": \"https://pbs.twimg.com/media/HIBqVMnXgAADD0K.jpg\",\n              \"id\": \"2053758342477086720\"\n            }\n          ]\n        },\n        \"author\": {\n          \"rest_id\": \"1767972133311819776\",\n          \"name\": \"Gaspard kirira\",\n          \"screen_name\": \"g_kirira\",\n          \"avatar\": null,\n          \"blue_verified\": true\n        }\n      },\n      {\n        \"tweet_id\": \"2053689070098817281\",\n        \"bookmarks\": null,\n        \"created_at\": \"Mon May 11 04:10:04 +0000 2026\",\n        \"favorites\": 5,\n        \"text\": \"Added a good amount of code to the engine tonight!\\n\\n1.\\nAdded paint on resize to the win32 window.\\n2. \\nFixed my thread code to make the rendering thread wait until my main thread's window was created!\\n3.\\nLearned why you should use PeekMessage over GetMessage for win32 windows in a https://t.co/mLWTIBhNaw\",\n        \"lang\": \"en\",\n        \"source\": \"<a href=\\\"https://mobile.twitter.com\\\" rel=\\\"nofollow\\\">Twitter Web App</a>\",\n        \"views\": \"296\",\n        \"screen_name\": \"PixelpulseG\",\n        \"quotes\": 0,\n        \"replies\": 0,\n        \"retweets\": 0,\n        \"media\": {\n          \"video\": [\n            {\n              \"media_url_https\": \"https://pbs.twimg.com/amplify_video_thumb/2053689001299542016/img/nZl1IpRh-AshKl2c.jpg\",\n              \"variants\": [\n                {\n                  \"content_type\": \"application/x-mpegURL\",\n                  \"url\": \"https://video.twimg.com/amplify_video/2053689001299542016/pl/mZKJa1hszi9oYZS8.m3u8?tag=27\"\n                },\n                {\n                  \"bitrate\": 256000,\n                  \"content_type\": \"video/mp4\",\n                  \"url\": \"https://video.twimg.com/amplify_video/2053689001299542016/vid/avc1/496x270/03qYKbjKCwlwp77z.mp4?tag=27\"\n                },\n                {\n                  \"bitrate\": 832000,\n                  \"content_type\": \"video/mp4\",\n                  \"url\": \"https://video.twimg.com/amplify_video/2053689001299542016/vid/avc1/662x360/-qvfW2cfkbOtiaJj.mp4?tag=27\"\n                },\n                {\n                  \"bitrate\": 2176000,\n                  \"content_type\": \"video/mp4\",\n                  \"url\": \"https://video.twimg.com/amplify_video/2053689001299542016/vid/avc1/1324x720/tqnjtUvG7VTe9WrP.mp4?tag=27\"\n                },\n                {\n                  \"bitrate\": 10368000,\n                  \"content_type\": \"video/mp4\",\n                  \"url\": \"https://video.twimg.com/amplify_video/2053689001299542016/vid/avc1/2560x1392/kB_dtTfelpGC0HRc.mp4?tag=27\"\n                }\n              ],\n              \"aspect_ratio\": [\n                160,\n                87\n              ],\n              \"duration\": 22500,\n              \"original_info\": {\n                \"focus_rects\": [],\n                \"height\": 1392,\n                \"width\": 2560\n              },\n              \"id\": \"2053689001299542016\"\n            },\n            {\n              \"media_url_https\": \"https://pbs.twimg.com/amplify_video_thumb/2053689001295433728/img/G1StLyyTI1K62kjC.jpg\",\n              \"variants\": [\n                {\n                  \"content_type\": \"application/x-mpegURL\",\n                  \"url\": \"https://video.twimg.com/amplify_video/2053689001295433728/pl/_EEilc4z7RIYcxAo.m3u8?tag=27\"\n                },\n                {\n                  \"bitrate\": 256000,\n                  \"content_type\": \"video/mp4\",\n                  \"url\": \"https://video.twimg.com/amplify_video/2053689001295433728/vid/avc1/496x270/PnbV7TidwGzE-uem.mp4?tag=27\"\n                },\n                {\n                  \"bitrate\": 832000,\n                  \"content_type\": \"video/mp4\",\n                  \"url\": \"https://video.twimg.com/amplify_video/2053689001295433728/vid/avc1/662x360/WxM0YjZnMc6CEZpA.mp4?tag=27\"\n                },\n                {\n                  \"bitrate\": 2176000,\n                  \"content_type\": \"video/mp4\",\n                  \"url\": \"https://video.twimg.com/amplify_video/2053689001295433728/vid/avc1/1324x720/Tgud1S-4mr6DAWlI.mp4?tag=27\"\n                },\n                {\n                  \"bitrate\": 10368000,\n                  \"content_type\": \"video/mp4\",\n                  \"url\": \"https://video.twimg.com/amplify_video/2053689001295433728/vid/avc1/2560x1392/1gZTfHUIqalisK7g.mp4?tag=27\"\n                }\n              ],\n              \"aspect_ratio\": [\n                160,\n                87\n              ],\n              \"duration\": 7166,\n              \"original_info\": {\n                \"focus_rects\": [],\n                \"height\": 1392,\n                \"width\": 2560\n              },\n              \"id\": \"2053689001295433728\"\n            }\n          ]\n        },\n        \"author\": {\n          \"rest_id\": \"1815491492968120320\",\n          \"name\": \"Jacobers_COM\",\n          \"screen_name\": \"PixelpulseG\",\n          \"avatar\": null,\n          \"blue_verified\": true\n        }\n      },\n      {\n        \"tweet_id\": \"2053360920244417010\",\n        \"bookmarks\": null,\n        \"created_at\": \"Sun May 10 06:26:07 +0000 2026\",\n        \"favorites\": 10,\n        \"text\": \"Quantum computing code in C language related to processing a qubit (quantum bit) through a Hadamard gate (transformation) and final measurements.\\n\\nhttps://t.co/AUgfaanmUz https://t.co/Ixj1mbzM1Q\",\n        \"lang\": \"en\",\n        \"source\": \"<a href=\\\"https://mobile.twitter.com\\\" rel=\\\"nofollow\\\">Twitter Web App</a>\",\n        \"views\": \"9499\",\n        \"screen_name\": \"adrian_h_x\",\n        \"quotes\": 0,\n        \"replies\": 1,\n        \"retweets\": 0,\n        \"media\": {\n          \"photo\": [\n            {\n              \"media_url_https\": \"https://pbs.twimg.com/media/HH8A1HzW4AABXr7.png\",\n            \n... truncated ...\n\n请根据以上信息给出可直接运行的示例代码。")}>
      ✨ 复制给 AI
    </button>
  </div>
</div>


## OpenAPI

````yaml zh/twitter.zh.openapi.json GET /v1/twitter/community_timeline
openapi: 3.0.1
info:
  title: Twitter API 中文文档
  description: Twitter API 的中文参考文档，包含接口用途、参数说明、响应状态和示例结构。
  version: 1.0.0
servers:
  - url: https://api.keyapi.ai
    description: Production
security:
  - JWT Bearer: []
tags: []
paths:
  /v1/twitter/community_timeline:
    get:
      tags: []
      summary: 社群时间线
      description: 获取指定 Twitter / X Community 的帖子时间线，支持排序维度和分页。适用于社群内容采集、社区讨论监测和主题分析。
      parameters:
        - name: community_id
          in: query
          description: Twitter / X Community ID。
          required: true
          example: '1783990533192651232'
          schema:
            type: string
            example: '1783990533192651232'
        - name: ranking
          in: query
          description: 排序方式，用于指定社群帖子按热门、最新等维度返回。
          required: false
          example: Top
          schema:
            type: string
            enum:
              - Top
              - Latest
            nullable: true
        - name: cursor
          in: query
          description: 分页游标，用于继续获取下一页社群时间线。
          required: false
          schema:
            type: string
      responses:
        '200':
          description: 请求成功
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                code: 0
                message: success
                data:
                  timeline:
                    - tweet_id: '2054204252281782583'
                      bookmarks: null
                      created_at: Tue May 12 14:17:13 +0000 2026
                      favorites: 6
                      text: Going to build this tonight https://t.co/fnNsx47aU1
                      lang: en
                      source: >-
                        <a href="http://twitter.com/download/iphone"
                        rel="nofollow">Twitter for iPhone</a>
                      views: '5430'
                      screen_name: Oval170
                      quotes: 0
                      replies: 2
                      retweets: 0
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HIH_268bwAAbCA1.jpg
                            id: '2054204224058408960'
                      author:
                        rest_id: '1714546916950708224'
                        name: Oval
                        screen_name: Oval170
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2053788049381691740'
                      bookmarks: null
                      created_at: Mon May 11 10:43:23 +0000 2026
                      favorites: 10
                      text: >-
                        Vix publish does not just fail silently.


                        If the local registry is out of sync, Vix shows the real
                        Git error, explains what happened, and gives the exact
                        recovery command.


                        Run registry sync, publish again, and continue.

                        C++ package publishing should be predictable from the
                        https://t.co/YBOQi4yuUY
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '20439'
                      screen_name: g_kirira
                      quotes: 0
                      replies: 2
                      retweets: 3
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HICFSV6XYAAX2GS.jpg
                            id: '2053787980247031808'
                      author:
                        rest_id: '1767972133311819776'
                        name: Gaspard kirira
                        screen_name: g_kirira
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2054147660677034241'
                      bookmarks: null
                      created_at: Tue May 12 10:32:21 +0000 2026
                      favorites: 2
                      text: i love horses
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '251'
                      screen_name: StevenLog58
                      quotes: 0
                      replies: 1
                      retweets: 0
                      media: []
                      author:
                        rest_id: '1574632960766185474'
                        name: Steven Logan
                        screen_name: StevenLog58
                        avatar: null
                        blue_verified: false
                      quoted:
                        tweet_id: '2054100387712364977'
                        bookmarks: 6
                        created_at: Tue May 12 07:24:30 +0000 2026
                        favorites: 1068
                        text: >-
                          Good morning all from my little farm in Georgia
                          https://t.co/u8bALmWhJd
                        lang: en
                        views: '17492'
                        quotes: 3
                        replies: 291
                        retweets: 148
                        conversation_id: '2054100387712364977'
                        author:
                          rest_id: '1661480068831498240'
                          name: John Morgan
                          screen_name: JohnMorgan64
                          avatar: null
                          blue_verified: true
                        media:
                          photo:
                            - media_url_https: https://pbs.twimg.com/media/HIGhak2WoAAsqp7.jpg
                              id: '2054100382997979136'
                    - tweet_id: '2053846768018690201'
                      bookmarks: null
                      created_at: Mon May 11 14:36:42 +0000 2026
                      favorites: 5
                      text: >-
                        Learning how to multiply 2 numbers in a RISC-V CPU that
                        doesn't have a multiply instruction extension (RV32M).


                        Came to a conclusion this algorithm is a bad idea. Need
                        to learn Big-O notation.


                        This helps me to understand the real cost of bad
                        programming practices. https://t.co/f3DH6uYp24
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '1440'
                      screen_name: SBMPimenta
                      quotes: 0
                      replies: 1
                      retweets: 0
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HIC5aPmWYAA66Z0.png
                            id: '2053845290596065280'
                      author:
                        rest_id: '104920119'
                        name: Sérgio Pimenta
                        screen_name: SBMPimenta
                        avatar: null
                        blue_verified: false
                    - tweet_id: '2053974918124212665'
                      bookmarks: null
                      created_at: Mon May 11 23:05:56 +0000 2026
                      favorites: 2
                      text: |-
                        Shader Workshop is finally released (beta)

                        https://t.co/XtdeZTwUiD
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '1732'
                      screen_name: robertswinkler
                      quotes: 0
                      replies: 1
                      retweets: 0
                      media: []
                      author:
                        rest_id: '1647819980120166401'
                        name: Robert Winkler
                        screen_name: robertswinkler
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2053758355236090204'
                      bookmarks: null
                      created_at: Mon May 11 08:45:23 +0000 2026
                      favorites: 5
                      text: >-
                        C++ build errors get harder as projects grow, especially
                        with complex CMake setups.


                        Vix is not limited to Vix projects. You can use the CLI
                        on any C++ project, including larger codebases, to get
                        cleaner GCC/Clang diagnostics, focused codeframes, and
                        better build feedback. https://t.co/i3XyZomkrU
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '2953'
                      screen_name: g_kirira
                      quotes: 0
                      replies: 0
                      retweets: 0
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HIBqVMnXgAADD0K.jpg
                            id: '2053758342477086720'
                      author:
                        rest_id: '1767972133311819776'
                        name: Gaspard kirira
                        screen_name: g_kirira
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2053689070098817281'
                      bookmarks: null
                      created_at: Mon May 11 04:10:04 +0000 2026
                      favorites: 5
                      text: >-
                        Added a good amount of code to the engine tonight!


                        1.

                        Added paint on resize to the win32 window.

                        2. 

                        Fixed my thread code to make the rendering thread wait
                        until my main thread's window was created!

                        3.

                        Learned why you should use PeekMessage over GetMessage
                        for win32 windows in a https://t.co/mLWTIBhNaw
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '296'
                      screen_name: PixelpulseG
                      quotes: 0
                      replies: 0
                      retweets: 0
                      media:
                        video:
                          - media_url_https: >-
                              https://pbs.twimg.com/amplify_video_thumb/2053689001299542016/img/nZl1IpRh-AshKl2c.jpg
                            variants:
                              - content_type: application/x-mpegURL
                                url: >-
                                  https://video.twimg.com/amplify_video/2053689001299542016/pl/mZKJa1hszi9oYZS8.m3u8?tag=27
                              - bitrate: 256000
                                content_type: video/mp4
                                url: >-
                                  https://video.twimg.com/amplify_video/2053689001299542016/vid/avc1/496x270/03qYKbjKCwlwp77z.mp4?tag=27
                              - bitrate: 832000
                                content_type: video/mp4
                                url: >-
                                  https://video.twimg.com/amplify_video/2053689001299542016/vid/avc1/662x360/-qvfW2cfkbOtiaJj.mp4?tag=27
                              - bitrate: 2176000
                                content_type: video/mp4
                                url: >-
                                  https://video.twimg.com/amplify_video/2053689001299542016/vid/avc1/1324x720/tqnjtUvG7VTe9WrP.mp4?tag=27
                              - bitrate: 10368000
                                content_type: video/mp4
                                url: >-
                                  https://video.twimg.com/amplify_video/2053689001299542016/vid/avc1/2560x1392/kB_dtTfelpGC0HRc.mp4?tag=27
                            aspect_ratio:
                              - 160
                              - 87
                            duration: 22500
                            original_info:
                              focus_rects: []
                              height: 1392
                              width: 2560
                            id: '2053689001299542016'
                          - media_url_https: >-
                              https://pbs.twimg.com/amplify_video_thumb/2053689001295433728/img/G1StLyyTI1K62kjC.jpg
                            variants:
                              - content_type: application/x-mpegURL
                                url: >-
                                  https://video.twimg.com/amplify_video/2053689001295433728/pl/_EEilc4z7RIYcxAo.m3u8?tag=27
                              - bitrate: 256000
                                content_type: video/mp4
                                url: >-
                                  https://video.twimg.com/amplify_video/2053689001295433728/vid/avc1/496x270/PnbV7TidwGzE-uem.mp4?tag=27
                              - bitrate: 832000
                                content_type: video/mp4
                                url: >-
                                  https://video.twimg.com/amplify_video/2053689001295433728/vid/avc1/662x360/WxM0YjZnMc6CEZpA.mp4?tag=27
                              - bitrate: 2176000
                                content_type: video/mp4
                                url: >-
                                  https://video.twimg.com/amplify_video/2053689001295433728/vid/avc1/1324x720/Tgud1S-4mr6DAWlI.mp4?tag=27
                              - bitrate: 10368000
                                content_type: video/mp4
                                url: >-
                                  https://video.twimg.com/amplify_video/2053689001295433728/vid/avc1/2560x1392/1gZTfHUIqalisK7g.mp4?tag=27
                            aspect_ratio:
                              - 160
                              - 87
                            duration: 7166
                            original_info:
                              focus_rects: []
                              height: 1392
                              width: 2560
                            id: '2053689001295433728'
                      author:
                        rest_id: '1815491492968120320'
                        name: Jacobers_COM
                        screen_name: PixelpulseG
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2053360920244417010'
                      bookmarks: null
                      created_at: Sun May 10 06:26:07 +0000 2026
                      favorites: 10
                      text: >-
                        Quantum computing code in C language related to
                        processing a qubit (quantum bit) through a Hadamard gate
                        (transformation) and final measurements.


                        https://t.co/AUgfaanmUz https://t.co/Ixj1mbzM1Q
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '9499'
                      screen_name: adrian_h_x
                      quotes: 0
                      replies: 1
                      retweets: 0
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HH8A1HzW4AABXr7.png
                            id: '2053360867731759104'
                      author:
                        rest_id: '1867134328204849152'
                        name: Adrian H
                        screen_name: adrian_h_x
                        avatar: null
                        blue_verified: false
                    - tweet_id: '2053816400490156349'
                      bookmarks: null
                      created_at: Mon May 11 12:36:02 +0000 2026
                      favorites: 3
                      text: Perfect truncation, A+, no notes https://t.co/65Ecs65Wji
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '220'
                      screen_name: jack_thurling
                      quotes: 0
                      replies: 0
                      retweets: 0
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HICfDHhXcAAXIvL.png
                            id: '2053816305988366336'
                      author:
                        rest_id: '1824059914949431296'
                        name: Jacques
                        screen_name: jack_thurling
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2053910823127453854'
                      bookmarks: null
                      created_at: Mon May 11 18:51:14 +0000 2026
                      favorites: 2
                      text: https://t.co/G8bOiZHsgy
                      lang: zxx
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '342'
                      screen_name: fred_pissarra
                      quotes: 0
                      replies: 0
                      retweets: 0
                      media: []
                      author:
                        rest_id: '44605518'
                        name: Frederico Pissarra
                        screen_name: fred_pissarra
                        avatar: null
                        blue_verified: true
                      quoted:
                        tweet_id: '2053910776348299663'
                        bookmarks: 0
                        created_at: Mon May 11 18:51:03 +0000 2026
                        favorites: 2
                        text: https://t.co/fy1MjALdOA
                        lang: zxx
                        views: '388'
                        quotes: 1
                        replies: 0
                        retweets: 0
                        conversation_id: '2053910776348299663'
                        author:
                          rest_id: '44605518'
                          name: Frederico Pissarra
                          screen_name: fred_pissarra
                          avatar: null
                          blue_verified: true
                        media: []
                    - tweet_id: '2054124528012292224'
                      bookmarks: null
                      created_at: Tue May 12 09:00:25 +0000 2026
                      favorites: 1
                      text: >-
                        Vix can serve interactive API docs from a C++ web app
                        with --docs.


                        The same main.cpp runs the server and exposes the
                        routes.


                        OpenAPI docs are enabled only when you request them.


                        Star the project on GitHub: https://t.co/yizE9tKR0O
                        https://t.co/H3OdFIyDoA
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '72'
                      screen_name: g_kirira
                      quotes: 0
                      replies: 0
                      retweets: 0
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HIG3WaPXUAAU-Ac.jpg
                            id: '2054124500686426112'
                      author:
                        rest_id: '1767972133311819776'
                        name: Gaspard kirira
                        screen_name: g_kirira
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2054110188446138808'
                      bookmarks: null
                      created_at: Tue May 12 08:03:27 +0000 2026
                      favorites: 1
                      text: >-
                        Vix lets you run, build, and export a C++ project
                        without changing your workflow.


                        In this example, the same file is run directly, built as
                        a Linux binary, then exported as a Windows .exe.


                        The goal is simple: make C++ development smoother
                        without taking control away from the
                        https://t.co/UXXuaVimqw
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '86'
                      screen_name: g_kirira
                      quotes: 0
                      replies: 0
                      retweets: 0
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HIGqUkjWUAAzYSn.jpg
                            id: '2054110175443701760'
                      author:
                        rest_id: '1767972133311819776'
                        name: Gaspard kirira
                        screen_name: g_kirira
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2053763713681723902'
                      bookmarks: null
                      created_at: Mon May 11 09:06:41 +0000 2026
                      favorites: 2
                      text: >-
                        Vix is a package-aware C++ CLI.


                        You can sync the registry, search packages, add
                        dependencies, update vix.json, and lock versions in one
                        clean terminal workflow.


                        C++ projects deserve package management that feels
                        simple, direct, and reliable.


                        https://t.co/yizE9tKR0O https://t.co/jlSA7lD2Nn
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '81'
                      screen_name: g_kirira
                      quotes: 0
                      replies: 0
                      retweets: 0
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HIBvMt3XIAAL3WI.jpg
                            id: '2053763694341857280'
                      author:
                        rest_id: '1767972133311819776'
                        name: Gaspard kirira
                        screen_name: g_kirira
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2053680266850476105'
                      bookmarks: null
                      created_at: Mon May 11 03:35:05 +0000 2026
                      favorites: 2
                      text: |-
                        &gt;Linux is C
                        &gt;Git is C
                        &gt;Python interpreter (CPython) is C
                        &gt;Ruby interpreter (MRI) is C
                        &gt;PostgreSQL is C
                        &gt;SQLite is C
                        &gt;Redis is C
                        &gt;MySQL is C++
                        &gt;MongoDB is C++
                        &gt;Unreal Engine is C++
                        &gt;Chrome is C++
                        &gt;Firefox is C++
                        &gt;Windows kernel is C
                        &gt;macOS kernel (XNU) is C
                        &gt;Photoshop is C++
                      lang: en
                      source: >-
                        <a href="http://twitter.com/download/android"
                        rel="nofollow">Twitter for Android</a>
                      views: '172'
                      screen_name: coder_simran
                      quotes: 0
                      replies: 0
                      retweets: 0
                      media: []
                      author:
                        rest_id: '2007481224529674240'
                        name: Simi
                        screen_name: coder_simran
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2053902849981960564'
                      bookmarks: null
                      created_at: Mon May 11 18:19:33 +0000 2026
                      favorites: 1
                      text: >-
                        Vix tests can narrow failures quickly.


                        Here I’m filtering C++ tests from the terminal, first
                        with a regex, then down to one failing test.


                        Vix keeps the summary compact, lists the failing test
                        names, and surfaces the useful error directly without
                        dumping the whole runner output. https://t.co/5PvGsieORV
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '129'
                      screen_name: g_kirira
                      quotes: 0
                      replies: 0
                      retweets: 0
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HIDtvlVWIAAcaWH.jpg
                            id: '2053902831812222976'
                      author:
                        rest_id: '1767972133311819776'
                        name: Gaspard kirira
                        screen_name: g_kirira
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2053901193282277755'
                      bookmarks: null
                      created_at: Mon May 11 18:12:58 +0000 2026
                      favorites: 1
                      text: >-
                        Vix build feedback keeps getting cleaner.


                        Here I’m building the Kordex bindings module with custom
                        CMake flags. Vix shows configure progress during
                        dependency work, then gives a compact build/test summary
                        with the failing tests clearly listed.


                        C++ projects need this kind of https://t.co/QpJwAwkJtK
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '96'
                      screen_name: g_kirira
                      quotes: 0
                      replies: 0
                      retweets: 0
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HIDsPQiXkAAI5CN.jpg
                            id: '2053901176962256896'
                      author:
                        rest_id: '1767972133311819776'
                        name: Gaspard kirira
                        screen_name: g_kirira
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2052775898303050172'
                      bookmarks: null
                      created_at: Fri May 08 15:41:27 +0000 2026
                      favorites: 12
                      text: >-
                        My first YouTube video showing my semi-working RISC-V
                        simulator.


                        My English is a bit slow, so you can play at 2x speed 😅


                        https://t.co/EuT35FzTCP
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '52593'
                      screen_name: SBMPimenta
                      quotes: 0
                      replies: 1
                      retweets: 1
                      media: []
                      author:
                        rest_id: '104920119'
                        name: Sérgio Pimenta
                        screen_name: SBMPimenta
                        avatar: null
                        blue_verified: false
                    - tweet_id: '2053767819297161529'
                      bookmarks: null
                      created_at: Mon May 11 09:22:59 +0000 2026
                      favorites: 1
                      text: >-
                        Vix can add multiple C++ packages directly from the
                        terminal.


                        Here I’m adding the Kordex runtime, bindings, and std
                        packages. Each dependency is resolved, added, and locked
                        in vix.lock.


                        Simple package management for real C++ projects.


                        https://t.co/yizE9tKR0O https://t.co/zLuY0MrBuo
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '105'
                      screen_name: g_kirira
                      quotes: 0
                      replies: 0
                      retweets: 0
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HIBy7tyW0AAmODe.png
                            id: '2053767800309600256'
                      author:
                        rest_id: '1767972133311819776'
                        name: Gaspard kirira
                        screen_name: g_kirira
                        avatar: null
                        blue_verified: true
                    - tweet_id: '2052431422347006063'
                      bookmarks: null
                      created_at: Thu May 07 16:52:38 +0000 2026
                      favorites: 16
                      text: >-
                        Fun fact: You can run ANY software on ANY computer


                        Whether it was built in 1980 or 2026 they are
                        fundamentally the same


                        The only things separating them are SPEED and MEMORY!


                        Even a massive AI LLM can run on an ancient machine (if
                        you have enough memory). It just take more time
                        https://t.co/S976N55Ay9
                      lang: en
                      source: >-
                        <a href="https://mobile.twitter.com"
                        rel="nofollow">Twitter Web App</a>
                      views: '21159'
                      screen_name: SBMPimenta
                      quotes: 0
                      replies: 3
                      retweets: 1
                      media:
                        photo:
                          - media_url_https: https://pbs.twimg.com/media/HHuzIJhXoAAcfoA.jpg
                            id: '2052431007773597696'
                      author:
                        rest_id: '104920119'
                        name: Sérgio Pimenta
                        screen_name: SBMPimenta
                        avatar: null
                        blue_verified: false
                  cursor: >-
                    DAAFCgABHILahDu__-oLAAIAAADoRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUJNY2ZPek5yZFl4dkJ5QTdjS1FWbEYwSElCeTgwaFdBVGtjZ0dwWHdsWnhYQnlCcWxWUDE4RzRISDhBNExiV2NmSWNnUzlPUEZzUnVSeUFoVmwzVnBGY0hJRHNRTlZYVVhzY2dKOGllUlpSUFJ5Qi8rSkJXa0UzSElBclZBNVhvUUVjZTdPQkh0ZlFieHlBYnpkZWxoSCtISUFqVW1QYUlFa2NnYmRnQUpid2dCeUE5UUwwMTVDZUhJSE1hZjdhc1FFY2dMckE5dGFRbVE9PQgAAwAAAAIAAA
                requestId: 850ab22a-4c15-4341-a143-e873eceabd69
          headers: {}
        '400':
          description: 请求参数错误，请检查必填字段和参数格式
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 400
                  data: null
                  message: Missing required parameter
        '401':
          description: 鉴权失败，请检查 Authorization Header 中的 Bearer Token 或 API Key 是否有效
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 401
                  data: null
                  message: apiKey is null
        '402':
          description: 账户余额或额度不足
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 402
                  data: null
                  message: apiKey quota is not enough
        '429':
          description: 请求过于频繁，已触发限流
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 429
                  data: null
                  message: qps limit exceeded
        '500':
          description: 服务器内部错误，请稍后重试
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 500
                  data: null
                  message: Internal server error
      deprecated: false
      security:
        - JWT Bearer: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl --request GET \
              --url 'https://api.keyapi.ai/v1/twitter/community_timeline?community_id=1783990533192651232&ranking=Top' \
              --header 'Authorization: Bearer <YOUR_API_KEY>'
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.get(
                'https://api.keyapi.ai/v1/twitter/community_timeline',
                params={"community_id": "1783990533192651232", "ranking": "Top"},
                headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
            )
            print(response.json())
        - lang: javascript
          label: JavaScript
          source: >-
            const params = new URLSearchParams({"community_id":
            "1783990533192651232", "ranking": "Top"});


            const response = await
            fetch(`https://api.keyapi.ai/v1/twitter/community_timeline?${params}`,
            {
              method: 'GET',
              headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
            });

            const data = await response.json();

            console.log(data);
components:
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        接口鉴权凭证。请在请求 Header 中传入 `Authorization: Bearer <YOUR_API_KEY>`。
        可在 [Dashboard](https://keyapi.ai/app/dashboard) 获取你的 API Key。

````