# টুইট থ্রেড কনটেক্সট নিন

**API:** Data API

**Endpoint:** `GET /v1/beta/twitter/tweet/thread_context`

**Tags:** Twitter / X

একটি টুইটের চারপাশের কথোপকথন পুনর্গঠন করুন। রিপ্লাই বা মূল টুইট — দুটোই গ্রহণ করে এবং চারপাশের থ্রেড ফেরত দেয়, কার্সর পেজিনেশনে। টুইটে নিজে থেকে প্রসঙ্গ না থাকলে এবং সঠিকভাবে ব্যাখ্যা করতে প্যারেন্ট চেইন দরকার হলে এটি ব্যবহার করুন। `tweets`-এর অধীনে `has_next_page` ও `next_cursor` সহ টুইট ফেরত দেয়। কোনো পোস্টের নিচে শুধু রিপ্লাইয়ের জন্য `get_twitter_tweet_replies_v2` ব্যবহার করুন।

### মূল্য রেফারেন্স

- মিটারিং: মিটার করা ফলাফল সংখ্যা
- রেফারেন্স রিকোয়েস্ট অনুমান: USD 0.00555
- ন্যূনতম খরচের ভিত্তি: USD 0.00015
- রেফারেন্স গ্রাহক মাল্টিপ্লায়ার: 1.0। নিষ্পত্তিকৃত গ্রাহক অঙ্কে এটি আবার প্রয়োগ করবেন না।
- খরচের ভিত্তি চূড়ান্ত গ্রাহক মূল্য নির্ধারণ করে না, শূন্য হলেও নয়।

এটি কেবল রেফারেন্স মেটাডেটা; অ্যাকাউন্টের কোটেশন, নিশ্চিত মূল্য বা ব্যয়সীমা নয়। রিসোর্স ক্রেডিট Felo ক্রেডিট নয়। চূড়ান্ত চার্জ Felo-এর বিলিং রেকর্ড অনুযায়ী হয়।

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `cursor` | query | no | string |  |
| `tweetId` | query | no | string |  |

## Responses

### 200 — সফল রেসপন্স

Headers:
- `X-Request-Id` (string) — Felo সাপোর্টে যোগাযোগের সময় অন্তর্ভুক্ত করার জন্য রিকোয়েস্ট আইডেন্টিফায়ার।

**application/json**

Schema: `ResponseCbc4F8806E32_TweetThreadContextResponse` (`#/components/schemas/ResponseCbc4F8806E32_TweetThreadContextResponse`)

### 400 — রিকোয়েস্ট প্রক্রিয়া করা যায়নি। রিকোয়েস্ট প্যারামিটার যাচাই করুন।

### 401 — একটি বৈধ Felo API key আবশ্যক।

### 402 — বিলিং শর্ত পূরণ না হওয়ায় রিকোয়েস্ট এগোতে পারছে না।

### 403 — অ্যাকাউন্টটিকে এই অপারেশন করার অনুমতি নেই।

### 429 — রিকোয়েস্ট বা ব্যয়ের সীমায় পৌঁছে গেছে।

### 502 — পরিষেবা রিকোয়েস্টটি সম্পন্ন করতে পারেনি।

### 503 — API বা বিলিং পরিষেবা সাময়িকভাবে অনুপলভ্য।

### 504 — রিকোয়েস্ট প্রক্রিয়াকরণের সময় পরিষেবার সময় শেষ হয়ে গেছে।

### default — ত্রুটি রেসপন্স; আপস্ট্রিম passthrough রেসপন্স প্রোভাইডারের ফর্ম্যাট ব্যবহার করতে পারে।

**application/json**

Schema:

```json
{}
```

## Schema definitions

### ResponseCbc4F8806E32_Entities

`#/components/schemas/ResponseCbc4F8806E32_Entities`

```json
{
  "type": "object",
  "properties": {
    "hashtags": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "indices": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "text": {
            "type": "string"
          }
        }
      }
    },
    "urls": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "display_url": {
            "type": "string"
          },
          "expanded_url": {
            "type": "string"
          },
          "indices": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "user_mentions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id_str": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "screen_name": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

### ResponseCbc4F8806E32_Tweet

`#/components/schemas/ResponseCbc4F8806E32_Tweet`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "retweetCount": {
      "type": "integer"
    },
    "replyCount": {
      "type": "integer"
    },
    "likeCount": {
      "type": "integer"
    },
    "quoteCount": {
      "type": "integer"
    },
    "viewCount": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string"
    },
    "lang": {
      "type": "string"
    },
    "bookmarkCount": {
      "type": "integer"
    },
    "isReply": {
      "type": "boolean"
    },
    "inReplyToId": {
      "type": "string"
    },
    "conversationId": {
      "type": "string"
    },
    "displayTextRange": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "inReplyToUserId": {
      "type": "string"
    },
    "inReplyToUsername": {
      "type": "string"
    },
    "author": {
      "$ref": "#/components/schemas/ResponseCbc4F8806E32_User"
    },
    "entities": {
      "$ref": "#/components/schemas/ResponseCbc4F8806E32_Entities"
    },
    "quoted_tweet": {
      "type": "string"
    },
    "retweeted_tweet": {
      "type": "string"
    },
    "isLimitedReply": {
      "type": "boolean"
    }
  }
}
```

### ResponseCbc4F8806E32_TweetThreadContextResponse

`#/components/schemas/ResponseCbc4F8806E32_TweetThreadContextResponse`

```json
{
  "type": "object",
  "properties": {
    "has_next_page": {
      "type": "boolean"
    },
    "next_cursor": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "success",
        "error"
      ]
    },
    "tweets": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ResponseCbc4F8806E32_Tweet"
      }
    },
    "msg": {
      "type": "string"
    }
  }
}
```

### ResponseCbc4F8806E32_User

`#/components/schemas/ResponseCbc4F8806E32_User`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "userName": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "isBlueVerified": {
      "type": "boolean"
    },
    "verifiedType": {
      "type": "string"
    },
    "profilePicture": {
      "type": "string"
    },
    "coverPicture": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "location": {
      "type": "string"
    },
    "followers": {
      "type": "integer"
    },
    "following": {
      "type": "integer"
    },
    "canDm": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string"
    },
    "favouritesCount": {
      "type": "integer"
    },
    "hasCustomTimelines": {
      "type": "boolean"
    },
    "isTranslator": {
      "type": "boolean"
    },
    "mediaCount": {
      "type": "integer"
    },
    "statusesCount": {
      "type": "integer"
    },
    "withheldInCountries": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "possiblySensitive": {
      "type": "boolean"
    },
    "pinnedTweetIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "isAutomated": {
      "type": "boolean"
    },
    "automatedBy": {
      "type": "string"
    },
    "unavailable": {
      "type": "boolean"
    },
    "message": {
      "type": "string"
    },
    "unavailableReason": {
      "type": "string"
    }
  }
}
```
