from xdk import Clientfrom xdk.oauth1_auth import OAuth1oauth1 = OAuth1( api_key="YOUR_API_KEY", api_secret="YOUR_API_SECRET", access_token="YOUR_ACCESS_TOKEN", access_token_secret="YOUR_ACCESS_TOKEN_SECRET")client = Client(auth=oauth1)# किसी पोस्ट को कोट करेंresponse = client.posts.create( text="Check this out!", quote_tweet_id="1234567890")print(f"Created quote: {response.data.id}")
import { Client, OAuth1 } from "@xdevplatform/xdk";const oauth1 = new OAuth1({ apiKey: "YOUR_API_KEY", apiSecret: "YOUR_API_SECRET", accessToken: "YOUR_ACCESS_TOKEN", accessTokenSecret: "YOUR_ACCESS_TOKEN_SECRET",});const client = new Client({ oauth1 });// किसी पोस्ट को कोट करेंconst response = await client.posts.create({ text: "Check this out!", quoteTweetId: "1234567890",});console.log(`Created quote: ${response.data?.id}`);
मीडिया सहित पोस्ट
सबसे पहले, Media Upload endpoint का उपयोग करके मीडिया अपलोड करें, फिर media_id का उपयोग करें:
cURL
curl -X POST "https://api.x.com/2/tweets" \ -H "Authorization: Bearer $USER_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "text": "Photo of the day!", "media": { "media_ids": ["1234567890123456789"] } }'
from xdk import Clientfrom xdk.oauth1_auth import OAuth1oauth1 = OAuth1( api_key="YOUR_API_KEY", api_secret="YOUR_API_SECRET", access_token="YOUR_ACCESS_TOKEN", access_token_secret="YOUR_ACCESS_TOKEN_SECRET")client = Client(auth=oauth1)# मीडिया के साथ पोस्टresponse = client.posts.create( text="Photo of the day!", media={"media_ids": ["1234567890123456789"]})print(f"Created Post with media: {response.data.id}")
import { Client, OAuth1 } from "@xdevplatform/xdk";const oauth1 = new OAuth1({ apiKey: "YOUR_API_KEY", apiSecret: "YOUR_API_SECRET", accessToken: "YOUR_ACCESS_TOKEN", accessTokenSecret: "YOUR_ACCESS_TOKEN_SECRET",});const client = new Client({ oauth1 });// मीडिया के साथ पोस्टconst response = await client.posts.create({ text: "Photo of the day!", media: { mediaIds: ["1234567890123456789"] },});console.log(`Created Post with media: ${response.data?.id}`);
import { Client, OAuth1 } from "@xdevplatform/xdk";const oauth1 = new OAuth1({ apiKey: "YOUR_API_KEY", apiSecret: "YOUR_API_SECRET", accessToken: "YOUR_ACCESS_TOKEN", accessTokenSecret: "YOUR_ACCESS_TOKEN_SECRET",});const client = new Client({ oauth1 });// एक पोस्ट हटाएँconst response = await client.posts.delete("1445880548472328192");console.log(`Deleted: ${response.data?.deleted}`);
3
हटाने की पुष्टि करें
{ "data": { "deleted": true }}
आप केवल अपनी ही पोस्ट्स हटा सकते हैं।
अगले चरण
इंटीग्रेशन गाइड
मुख्य अवधारणाएँ और सर्वोत्तम तरीके
मीडिया अपलोड
पोस्ट्स के लिए मीडिया अपलोड करें
API संदर्भ
एंडपॉइंट का पूरा दस्तावेज़
नमूना कोड
काम करने वाले कोड उदाहरण
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"X","colors":{"primary":"#0E0E0E","light":"#B0B0B0","dark":"#0E0E0E"},"logo":{"light":"https://mintcdn.com/generaltranslation/p-tsc5qa00w8y5M4/logo/light.svg?fit=max\u0026auto=format\u0026n=p-tsc5qa00w8y5M4\u0026q=85\u0026s=299a991122fb35a82f868bc62a8be1ae","dark":"https://mintcdn.com/generaltranslation/p-tsc5qa00w8y5M4/logo/dark.svg?fit=max\u0026auto=format\u0026n=p-tsc5qa00w8y5M4\u0026q=85\u0026s=06e5086f68ab588cc44787b665898b75"},"favicon":"/favicon.png","appearance":{"default":"dark","strict":true},"background":{"color":{"dark":"#050505"}},"navbar":{"links":[{"href":"https://developer.x.com/en/support","label":"Support"}],"primary":{"type":"button","label":"Developer Console","href":"https://developer.x.com/en/portal/petition/essential/basic-info"}},"footer":{"socials":{"x":"https://x.com/xdevelopers","github":"https://github.com/xdevplatform"},"links":[{"header":"Legal","items":[{"label":"Terms of Service","href":"https://x.com/en/tos"},{"label":"Privacy Policy","href":"https://x.com/en/privacy"},{"label":"Cookies","href":"https://help.x.com/en/rules-and-policies/x-cookies"},{"label":"Developer Terms","href":"https://docs.x.com/developer-terms"}]}]},"seo":{"metatags":{"canonical":"https://docs.x.com","og:site_name":"X Developer Platform","og:type":"website","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@xdevelopers","description":"Build, analyze, and innovate with X's real-time, global data and APIs. Access comprehensive API documentation, SDKs, tutorials, and developer tools.","author":"X Developer Platform","language":"en","robots":"index, follow","googlebot":"index, follow"},"indexing":"all"},"contextual":{"options":["copy","view",{"title":"Open in Grok","description":"Ask questions about this page","icon":"/logo/grok.svg","href":{"base":"https://grok.com","query":[{"key":"q","value":"Read from https://docs.x.com$path so I can ask questions about it."}]}}],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"overview"},{"language":"es","href":"es/overview"},{"language":"fr","href":"fr/overview"},{"language":"hi","href":"hi/overview"},{"language":"ja","href":"ja/overview"},{"language":"ko","href":"ko/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"generaltranslation","hasAudioNarration":false,"actualSubdomain":"generaltranslation","customDomains":[],"gitSource":{"type":"github","owner":"fernando-aviles","repo":"x-docs","deployBranch":"locadex/setup-1769989792329","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae92afb0a94bfe43457bdcb:success","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"en","tag":"API Reference","count":371},{"language":"es","tag":"Referencia de la API","count":371},{"language":"fr","tag":"Référence de l’API","count":371},{"language":"hi","tag":"API संदर्भ","count":371},{"language":"ja","tag":"APIリファレンス","count":371},{"language":"ko","tag":"API 참조 문서","count":371},{"language":"en","tag":"TypeScript SDK","count":315},{"language":"es","tag":"SDK de TypeScript","count":315},{"language":"fr","tag":"SDK TypeScript","count":315},{"language":"hi","tag":"TypeScript SDK","count":315},{"language":"ja","tag":"TypeScript SDK","count":315},{"language":"ko","tag":"TypeScript SDK","count":315},{"language":"en","tag":"X API","count":295},{"language":"es","tag":"X API","count":294},{"language":"fr","tag":"X API","count":294},{"language":"hi","tag":"X API","count":294},{"language":"ja","tag":"X API","count":294},{"language":"ko","tag":"X API","count":294},{"language":"en","tag":"Interfaces","count":284},{"language":"es","tag":"Interfaces","count":284},{"language":"fr","tag":"Interfaces","count":284},{"language":"hi","tag":"इंटरफेस","count":284},{"language":"ja","tag":"インターフェイス","count":284},{"language":"ko","tag":"인터페이스","count":284},{"language":"en","tag":"Misc","count":281},{"language":"es","tag":"Varios","count":281},{"language":"fr","tag":"Divers","count":281},{"language":"hi","tag":"विविध","count":281},{"language":"ja","tag":"その他","count":281},{"language":"ko","tag":"기타","count":281},{"language":"en","tag":"Posts","count":78},{"language":"es","tag":"Publicaciones","count":78},{"language":"fr","tag":"Publications","count":78},{"language":"hi","tag":"पोस्ट्स","count":78},{"language":"ja","tag":"投稿","count":78},{"language":"ko","tag":"포스트","count":78},{"language":"en","tag":"Guides","count":76},{"language":"es","tag":"Guías","count":76},{"language":"fr","tag":"Guides","count":76},{"language":"ja","tag":"ガイド","count":76},{"language":"ko","tag":"가이드","count":76},{"language":"en","tag":"Python SDK","count":67},{"language":"es","tag":"SDK de Python","count":67},{"language":"fr","tag":"SDK Python","count":67},{"language":"hi","tag":"Python SDK","count":67},{"language":"ja","tag":"Python SDK","count":67},{"language":"ko","tag":"Python SDK","count":67},{"language":"en","tag":"Fundamentals","count":56},{"language":"hi","tag":"मार्गदर्शिकाएँ","count":50},{"language":"es","tag":"Conceptos básicos","count":43},{"language":"ko","tag":"기본 개념","count":43},{"language":"en","tag":"Lists","count":40},{"language":"es","tag":"Listas","count":40},{"language":"fr","tag":"Listes","count":40},{"language":"hi","tag":"सूचियाँ","count":40},{"language":"ja","tag":"リスト","count":40},{"language":"ko","tag":"리스트","count":40},{"language":"hi","tag":"बुनियादी बातें","count":39},{"language":"fr","tag":"Accueil","count":37},{"language":"ja","tag":"ホーム","count":37}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"GraphikWide\";src:url(\"https://mintlify-assets.b-cdn.net/x/GraphikWide-Semibold-Trial.woff\") format(\"woff\");font-weight:600}.font-branded,h1,h2,h3{font-family:\"GraphikWide\";letter-spacing:-1%}.form{padding:15px;width:100%;min-height:300px;overflow-y:auto}.rate-limit-table th{text-align:left}tr td[data-label=\"Endpoint\"] a{font-size:12px}tr td[data-label=\"Pro Limit\"],tr td[data-label=\"Basic Limit\"],tr td[data-label=\"Free Limit\"]{font-size:12px}td[data-label=\"Pro Limit\"] strong,td[data-label=\"Basic Limit\"] strong,td[data-label=\"Free Limit\"] strong{margin-bottom:8px;display:block}.text-hero{color:white;font-weight:600;font-size:3rem;margin:0}@media (max-width: 767px){.text-hero{font-size:2rem}}#assistant-entry span{font-size:0!important;line-height:0!important}#assistant-entry span::before{content:\"Ask Grok\";font-size:0.875rem;line-height:1.5rem}#assistant-entry svg{display:none!important}#assistant-entry::before{content:\"\";display:inline-block;width:18px;height:18px;background-image:url(\"data:image/svg+xml,%3Csvg fill='%23000000' fill-rule='evenodd' height='1em' style='flex:none;line-height:1' viewBox='0 0 24 24' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EGrok%3C/title%3E%3Cpath d='M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:contain;vertical-align:middle}.dark #assistant-entry::before{background-image:url(\"data:image/svg+xml,%3Csvg fill='%23ffffff' fill-rule='evenodd' height='1em' style='flex:none;line-height:1' viewBox='0 0 24 24' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EGrok%3C/title%3E%3Cpath d='M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815'/%3E%3C/svg%3E\")}.chat-assistant-sheet-header span.font-semibold{font-size:0!important}.chat-assistant-sheet-header span.font-semibold::before{content:\"Grok\";font-size:0.875rem;font-weight:600}.chat-assistant-sheet-header svg.size-5.text-primary.dark\\:text-primary-light{display:none!important}.chat-assistant-sheet-header .flex.items-center.gap-2::before{content:\"\";display:inline-block;width:18px;height:18px;background-image:url(\"data:image/svg+xml,%3Csvg fill='%23000000' fill-rule='evenodd' height='1em' style='flex:none;line-height:1' viewBox='0 0 24 24' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EGrok%3C/title%3E%3Cpath d='M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:contain;vertical-align:middle}.dark .chat-assistant-sheet-header .flex.items-center.gap-2::before{background-image:url(\"data:image/svg+xml,%3Csvg fill='%23ffffff' fill-rule='evenodd' height='1em' style='flex:none;line-height:1' viewBox='0 0 24 24' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EGrok%3C/title%3E%3Cpath d='M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815'/%3E%3C/svg%3E\")}[data-component-part=\"update-label\"]{background-color:white;color:black!important}#navbar>*:nth-child(2){max-width:none!important;margin-left:0!important;margin-right:0!important}#sidebar{left:0!important}#sidebar-content{padding-left:2rem}#injected-slider{max-width:400px}#cost-estimator-button{position:relative}#cost-estimator-dropdown{min-width:400px;box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)}#usage-slider{-webkit-appearance:none;appearance:none;height:6px;background:#e5e7eb;outline:none;border-radius:3px}.dark #usage-slider{background:rgba(255, 255, 255, 0.1)}#usage-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;background:white;border:2px solid #00BA7C;border-radius:50%;cursor:pointer}.dark #usage-slider::-webkit-slider-thumb{background:#0B0C0E}#usage-slider::-moz-range-thumb{width:16px;height:16px;background:white;border:2px solid #00BA7C;border-radius:50%;cursor:pointer}.dark #usage-slider::-moz-range-thumb{background:#0B0C0E}"}],"page":{"pagePath":"hi/x-api/posts/manage-tweets/quickstart","slug":"/hi/x-api/posts/manage-tweets/quickstart","pageMetadata":{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","description":"X API का उपयोग करके पोस्ट्स बनाएँ और हटाएँ","keywords":["पोस्ट्स प्रबंधन त्वरित शुरुआत","पोस्ट करने की त्वरित शुरुआत","Tweet बनाने का ट्यूटोरियल","Tweet निर्माण मार्गदर्शिका","पोस्ट करने का उदाहरण"],"href":"/hi/x-api/posts/manage-tweets/quickstart"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"X API का उपयोग करके पोस्ट्स बनाएँ और हटाएँ\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const Button=({href,children})=>{const _components={a:`a`,..._provideComponents()};return _jsx(`div`,{className:`not-prose mint-group`,children:_jsx(_components.a,{href,children:_jsxs(`button`,{className:`mint-flex mint-items-center mint-space-x-2.5 mint-py-1 mint-px-4 bg-primary-dark dark:mint-bg-white mint-text-white dark:mint-text-gray-950 mint-rounded-full group-hover:mint-opacity-[0.9] mint-font-medium`,children:[_jsx(`span`,{children}),_jsx(`svg`,{width:`3`,height:`24`,viewBox:`0 -9 3 24`,class:`mint-h-6 mint-rotate-0 mint-overflow-visible`,children:_jsx(`path`,{d:`M0 0L3 3L0 6`,fill:`none`,stroke:`currentColor`,\"stroke-width\":`1.5`,\"stroke-linecap\":`round`})})]})})})};function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,CodeGroup,Heading,Note,Step,Steps,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`यह मार्गदर्शिका आपको X API का उपयोग करके पोस्ट्स बनाने और हटाने के बारे में बताती है।`}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`पूर्वापेक्षाएँ`})}),_jsx(_components.p,{children:`शुरू करने से पहले, आपको इनकी आवश्यकता होगी:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`स्वीकृत ऐप के साथ एक `,_jsx(_components.a,{href:`https://developer.x.com/en/portal/petition/essential/basic-info`,children:`डेवलपर खाता`})]}),`\n`,_jsx(_components.li,{children:`उपयोगकर्ता एक्सेस टोकन (OAuth 1.0a या OAuth 2.0 PKCE)`}),`\n`]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(`div`,{id:`create-a-post`,children:_jsx(Heading,{level:`2`,id:`एक-पोस्ट-बनाएँ`,children:`एक पोस्ट बनाएँ`})}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`अपना अनुरोध तैयार करें`,children:[_jsxs(_components.p,{children:[`POST `,_jsx(_components.code,{children:`/2/tweets`}),` एंडपॉइंट के लिए कम से कम `,_jsx(_components.code,{children:`text`}),` या `,_jsx(_components.code,{children:`media`}),` के साथ एक JSON बॉडी आवश्यक है:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello from the X API!\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsx(Step,{title:`अनुरोध भेजें`,children:_jsxs(CodeGroup,{dropdown:true,children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.x.com/2/tweets\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$USER_ACCESS_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"text\": \"Hello from the X API!\"}'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python SDK`,numberOfLines:`15`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` xdk `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Client`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` xdk.oauth1_auth `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OAuth1`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`oauth1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OAuth1(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` access_token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` access_token_secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_ACCESS_TOKEN_SECRET\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Client(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`oauth1)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# एक पोस्ट बनाएँ`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.posts.create(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`text`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello from the X API!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Created Post: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.data.id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript SDK`,numberOfLines:`14`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`OAuth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@xdevplatform/xdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` oauth1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OAuth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessToken:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessTokenSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_ACCESS_TOKEN_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`oauth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// एक पोस्ट बनाएँ`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`posts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`text:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Hello from the X API!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Created Post: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]})}),_jsxs(Step,{title:`रिस्पॉन्स की समीक्षा करें`,children:[_jsxs(_components.p,{children:[`सफल रिस्पॉन्स में नई पोस्ट का `,_jsx(_components.code,{children:`id`}),` और `,_jsx(_components.code,{children:`text`}),` शामिल होता है:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1445880548472328192\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello from the X API!\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(`div`,{id:`advanced-examples`,children:_jsx(Heading,{level:`2`,id:`उन्नत-उदाहरण`,children:`उन्नत उदाहरण`})}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`पोस्ट का जवाब दें`,id:`curl--x-post-%22https%3A%2F%2Fapi.x.com%2F2%2Ftweets%22-%5C--h-%22authorization%3A-bearer-%24user_access_token%22-%5C--h-%22content-type%3A-application%2Fjson%22-%5C--d-'%7B-%22text%22%3A-%22this-is-a-reply!%22%2C-%22reply%22%3A-%7B-%22in_reply_to_tweet_id%22%3A-%221234567890%22-%7D-%7D'-from-xdk-import-client-from-xdk.oauth1_auth-import-oauth1-oauth1-%3D-oauth1(-api_key%3D%22your_api_key%22%2C-api_secret%3D%22your_api_secret%22%2C-access_token%3D%22your_access_token%22%2C-access_token_secret%3D%22your_access_token_secret%22-)-client-%3D-client(auth%3Doauth1)-%23-%E0%A4%8F%E0%A4%95-%E0%A4%B0%E0%A4%BF%E0%A4%AA%E0%A5%8D%E0%A4%B2%E0%A4%BE%E0%A4%88-%E0%A4%AC%E0%A4%A8%E0%A4%BE%E0%A4%8F%E0%A4%81-response-%3D-client.posts.create(-text%3D%22this-is-a-reply!%22%2C-reply%3D%7B%22in_reply_to_tweet_id%22%3A-%221234567890%22%7D-)-print(f%22created-reply%3A-%7Bresponse.data.id%7D%22)-import-%7B-client%2C-oauth1-%7D-from-%22%40xdevplatform%2Fxdk%22%3B-const-oauth1-%3D-new-oauth1(%7B-apikey%3A-%22your_api_key%22%2C-apisecret%3A-%22your_api_secret%22%2C-accesstoken%3A-%22your_access_token%22%2C-accesstokensecret%3A-%22your_access_token_secret%22%2C-%7D)%3B-const-client-%3D-new-client(%7B-oauth1-%7D)%3B-%2F%2F-%E0%A4%8F%E0%A4%95-%E0%A4%B0%E0%A4%BF%E0%A4%AA%E0%A5%8D%E0%A4%B2%E0%A4%BE%E0%A4%88-%E0%A4%AC%E0%A4%A8%E0%A4%BE%E0%A4%8F%E0%A4%81-const-response-%3D-await-client.posts.create(%7B-text%3A-%22this-is-a-reply!%22%2C-reply%3A-%7B-inreplytotweetid%3A-%221234567890%22-%7D%2C-%7D)%3B-console.log(%60created-reply%3A-%24%7Bresponse.data%3F.id%7D%60)%3B`,children:_jsxs(CodeGroup,{dropdown:true,children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.x.com/2/tweets\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$USER_ACCESS_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text\": \"This is a reply!\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reply\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"in_reply_to_tweet_id\": \"1234567890\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python SDK`,numberOfLines:`18`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` xdk `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Client`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` xdk.oauth1_auth `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OAuth1`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`oauth1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OAuth1(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` access_token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` access_token_secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_ACCESS_TOKEN_SECRET\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Client(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`oauth1)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# एक रिप्लाई बनाएँ`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.posts.create(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` text`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This is a reply!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` reply`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"in_reply_to_tweet_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Created reply: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.data.id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript SDK`,numberOfLines:`17`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`OAuth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@xdevplatform/xdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` oauth1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OAuth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessToken:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessTokenSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_ACCESS_TOKEN_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`oauth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// एक रिप्लाई बनाएँ`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`posts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` text:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"This is a reply!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` reply:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`inReplyToTweetId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"1234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Created reply: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]})}),_jsx(Accordion,{title:`किसी पोस्ट को उद्धृत करें`,id:`-1`,children:_jsxs(CodeGroup,{dropdown:true,children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.x.com/2/tweets\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$USER_ACCESS_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text\": \"Check this out!\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"quote_tweet_id\": \"1234567890\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python SDK`,numberOfLines:`18`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` xdk `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Client`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` xdk.oauth1_auth `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OAuth1`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`oauth1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OAuth1(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` access_token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` access_token_secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_ACCESS_TOKEN_SECRET\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Client(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`oauth1)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# किसी पोस्ट को कोट करें`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.posts.create(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` text`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Check this out!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` quote_tweet_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234567890\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Created quote: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.data.id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript SDK`,numberOfLines:`17`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`OAuth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@xdevplatform/xdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` oauth1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OAuth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessToken:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessTokenSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_ACCESS_TOKEN_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`oauth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// किसी पोस्ट को कोट करें`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`posts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` text:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Check this out!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` quoteTweetId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"1234567890\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Created quote: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]})}),_jsxs(Accordion,{title:`मीडिया सहित पोस्ट`,id:`-2`,children:[_jsxs(_components.p,{children:[`सबसे पहले, `,_jsx(_components.a,{href:`/hi/x-api/media/quickstart/media-upload-chunked`,children:`Media Upload endpoint`}),` का उपयोग करके मीडिया अपलोड करें, फिर `,_jsx(_components.code,{children:`media_id`}),` का उपयोग करें:`]}),_jsxs(CodeGroup,{dropdown:true,children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.x.com/2/tweets\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$USER_ACCESS_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text\": \"Photo of the day!\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"media\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"media_ids\": [\"1234567890123456789\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python SDK`,numberOfLines:`18`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` xdk `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Client`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` xdk.oauth1_auth `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OAuth1`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`oauth1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OAuth1(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` access_token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` access_token_secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_ACCESS_TOKEN_SECRET\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Client(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`oauth1)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# मीडिया के साथ पोस्ट`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.posts.create(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` text`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Photo of the day!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` media`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"media_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234567890123456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Created Post with media: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.data.id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript SDK`,numberOfLines:`17`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`OAuth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@xdevplatform/xdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` oauth1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OAuth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessToken:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessTokenSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_ACCESS_TOKEN_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`oauth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// मीडिया के साथ पोस्ट`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`posts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` text:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Photo of the day!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` media:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`mediaIds:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1234567890123456789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Created Post with media: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]})]}),_jsx(Accordion,{title:`पोल सहित पोस्ट`,id:`-3`,children:_jsxs(CodeGroup,{dropdown:true,children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.x.com/2/tweets\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$USER_ACCESS_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text\": \"What is your favorite color?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"poll\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"options\": [\"Red\", \"Blue\", \"Green\", \"Yellow\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration_minutes\": 1440`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python SDK`,numberOfLines:`18`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`18`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` xdk `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Client`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` xdk.oauth1_auth `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OAuth1`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`oauth1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OAuth1(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` access_token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` access_token_secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_ACCESS_TOKEN_SECRET\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Client(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`oauth1)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# पोल के साथ एक पोस्ट`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.posts.create(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` text`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"What is your favorite color?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` poll`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Red\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Blue\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Green\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Yellow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"duration_minutes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1440`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Created poll: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.data.id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript SDK`,numberOfLines:`17`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`OAuth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@xdevplatform/xdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` oauth1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OAuth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessToken:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessTokenSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_ACCESS_TOKEN_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`oauth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// पोल के साथ एक पोस्ट`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`posts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` text:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"What is your favorite color?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` poll:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`options:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Red\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Blue\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Green\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Yellow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`durationMinutes:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1440`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Created poll: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(`div`,{id:`delete-a-post`,children:_jsx(Heading,{level:`2`,id:`किसी-पोस्ट-को-हटाएँ`,children:`किसी पोस्ट को हटाएँ`})}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`पोस्ट की ID प्राप्त करें`,children:_jsx(_components.p,{children:`आपको उस पोस्ट की ID चाहिए जिसे आप हटाना चाहते हैं। यह ID आपको पोस्ट बनाते समय मिलती है।`})}),_jsx(Step,{title:`DELETE अनुरोध भेजें`,children:_jsxs(CodeGroup,{dropdown:true,children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` DELETE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.x.com/2/tweets/1445880548472328192\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$USER_ACCESS_TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python SDK`,numberOfLines:`15`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` xdk `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Client`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` xdk.oauth1_auth `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OAuth1`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`oauth1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` OAuth1(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` api_secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` access_token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` access_token_secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_ACCESS_TOKEN_SECRET\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Client(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`oauth1)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# एक पोस्ट हटाएँ`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.posts.delete(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1445880548472328192\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Deleted: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.data.deleted`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript SDK`,numberOfLines:`14`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`OAuth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@xdevplatform/xdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` oauth1`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OAuth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` apiSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessToken:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_ACCESS_TOKEN\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` accessTokenSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_ACCESS_TOKEN_SECRET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`oauth1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// एक पोस्ट हटाएँ`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`posts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`delete`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1445880548472328192\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`Deleted: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`deleted`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]})}),_jsx(Step,{title:`हटाने की पुष्टि करें`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"deleted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`आप केवल अपनी ही पोस्ट्स हटा सकते हैं।`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(`div`,{id:`next-steps`,children:_jsx(Heading,{level:`2`,id:`अगले-चरण`,children:`अगले चरण`})}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`इंटीग्रेशन गाइड`,icon:`book`,href:`/hi/x-api/posts/manage-tweets/integrate`,children:_jsx(_components.p,{children:`मुख्य अवधारणाएँ और सर्वोत्तम तरीके`})}),_jsx(Card,{title:`मीडिया अपलोड`,icon:`image`,href:`/hi/x-api/media/quickstart/media-upload-chunked`,children:_jsx(_components.p,{children:`पोस्ट्स के लिए मीडिया अपलोड करें`})}),_jsx(Card,{title:`API संदर्भ`,icon:`code`,href:`/hi/x-api/posts/create-post`,children:_jsx(_components.p,{children:`एंडपॉइंट का पूरा दस्तावेज़`})}),_jsx(Card,{title:`नमूना कोड`,icon:`github`,href:`https://github.com/xdevplatform/Twitter-API-v2-sample-code`,children:_jsx(_components.p,{children:`काम करने वाले कोड उदाहरण`})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{Button,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","description":"X API का उपयोग करके पोस्ट्स बनाएँ और हटाएँ","keywords":["पोस्ट्स प्रबंधन त्वरित शुरुआत","पोस्ट करने की त्वरित शुरुआत","Tweet बनाने का ट्यूटोरियल","Tweet निर्माण मार्गदर्शिका","पोस्ट करने का उदाहरण"],"href":"/hi/x-api/posts/manage-tweets/quickstart"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[142,824,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"एक पोस्ट बनाएँ","slug":"एक-पोस्ट-बनाएँ","depth":2,"children":[]},{"title":"उन्नत उदाहरण","slug":"उन्नत-उदाहरण","depth":2,"children":[]},{"title":"किसी पोस्ट को हटाएँ","slug":"किसी-पोस्ट-को-हटाएँ","depth":2,"children":[]},{"title":"अगले चरण","slug":"अगले-चरण","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/generaltranslation/f67e695317871503/widgets.js","/_mintlify/custom/generaltranslation/dd4721d49d6e0698/sliders.js"],"dynamicCss":".mint-flex {\n display: flex\n}\n.mint-h-6 {\n height: 1.5rem\n}\n.mint-rotate-0 {\n --tw-rotate: 0deg;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))\n}\n.mint-items-center {\n align-items: center\n}\n.mint-space-x-2\\.5 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-x-reverse: 0;\n margin-right: calc(0.625rem * var(--tw-space-x-reverse));\n margin-left: calc(0.625rem * calc(1 - var(--tw-space-x-reverse)))\n}\n.mint-overflow-visible {\n overflow: visible\n}\n.mint-rounded-full {\n border-radius: 9999px\n}\n.mint-px-4 {\n padding-left: 1rem;\n padding-right: 1rem\n}\n.mint-py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem\n}\n.mint-font-medium {\n font-weight: 500\n}\n.mint-text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1))\n}\n.mint-group:hover .group-hover\\:mint-opacity-\\[0\\.9\\] {\n opacity: 0.9\n}\n.dark\\:mint-bg-white:is(.dark *) {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1))\n}\n.dark\\:mint-text-gray-950:is(.dark *) {\n --tw-text-opacity: 1;\n color: rgb(3 7 18 / var(--tw-text-opacity, 1))\n}","subdomain":"generaltranslation","siteName":"X","title":"त्वरित शुरुआत - X","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/x-api/posts/manage-tweets/quickstart","matchLevel":1},"es":{"href":"/es/x-api/posts/manage-tweets/quickstart","matchLevel":1},"fr":{"href":"/fr/x-api/posts/manage-tweets/quickstart","matchLevel":1},"hi":{"href":"/hi/x-api/posts/manage-tweets/quickstart","matchLevel":0},"ja":{"href":"/ja/x-api/posts/manage-tweets/quickstart","matchLevel":1},"ko":{"href":"/ko/x-api/posts/manage-tweets/quickstart","matchLevel":1}}},"lastModified":"2026-04-02T03:18:06.102Z","originalFileLocation":"hi/x-api/posts/manage-tweets/quickstart.mdx","locale":"hi"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"X API का उपयोग करके पोस्ट्स बनाएँ और हटाएँ\">\u003cmeta data-mint-head name=\"application-name\" content=\"X\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"त्वरित शुरुआत - X\">\u003cmeta data-mint-head property=\"og:description\" content=\"X API का उपयोग करके पोस्ट्स बनाएँ और हटाएँ\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"X Developer Platform\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.x.com/hi/x-api/posts/manage-tweets/quickstart\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://generaltranslation.mintlify.site/_mintlify/api/og/v2?division=%E0%A4%97%E0%A4%BE%E0%A4%87%E0%A4%A1\u0026amp;title=%E0%A4%A4%E0%A5%8D%E0%A4%B5%E0%A4%B0%E0%A4%BF%E0%A4%A4+%E0%A4%B6%E0%A5%81%E0%A4%B0%E0%A5%81%E0%A4%86%E0%A4%A4\u0026amp;description=X+API+%E0%A4%95%E0%A4%BE+%E0%A4%89%E0%A4%AA%E0%A4%AF%E0%A5%8B%E0%A4%97+%E0%A4%95%E0%A4%B0%E0%A4%95%E0%A5%87+%E0%A4%AA%E0%A5%8B%E0%A4%B8%E0%A5%8D%E0%A4%9F%E0%A5%8D%E0%A4%B8+%E0%A4%AC%E0%A4%A8%E0%A4%BE%E0%A4%8F%E0%A4%81+%E0%A4%94%E0%A4%B0+%E0%A4%B9%E0%A4%9F%E0%A4%BE%E0%A4%8F%E0%A4%81\u0026amp;theme=3199bd2c292b5ac8dc3f7441\u0026amp;signature=6742c2c5f1417533be1f9f4142189f2716c777be50d1bab928d193c65d65ed35\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"त्वरित शुरुआत - X\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"X API का उपयोग करके पोस्ट्स बनाएँ और हटाएँ\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://generaltranslation.mintlify.site/_mintlify/api/og/v2?division=%E0%A4%97%E0%A4%BE%E0%A4%87%E0%A4%A1\u0026amp;title=%E0%A4%A4%E0%A5%8D%E0%A4%B5%E0%A4%B0%E0%A4%BF%E0%A4%A4+%E0%A4%B6%E0%A5%81%E0%A4%B0%E0%A5%81%E0%A4%86%E0%A4%A4\u0026amp;description=X+API+%E0%A4%95%E0%A4%BE+%E0%A4%89%E0%A4%AA%E0%A4%AF%E0%A5%8B%E0%A4%97+%E0%A4%95%E0%A4%B0%E0%A4%95%E0%A5%87+%E0%A4%AA%E0%A5%8B%E0%A4%B8%E0%A5%8D%E0%A4%9F%E0%A5%8D%E0%A4%B8+%E0%A4%AC%E0%A4%A8%E0%A4%BE%E0%A4%8F%E0%A4%81+%E0%A4%94%E0%A4%B0+%E0%A4%B9%E0%A4%9F%E0%A4%BE%E0%A4%8F%E0%A4%81\u0026amp;theme=3199bd2c292b5ac8dc3f7441\u0026amp;signature=6742c2c5f1417533be1f9f4142189f2716c777be50d1bab928d193c65d65ed35\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"X\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0E0E0E\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"X Developer Platform\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.x.com/hi/x-api/posts/manage-tweets/quickstart\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/hi/x-api/posts/manage-tweets/quickstart.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://docs.x.com/hi/x-api/posts/manage-tweets/quickstart\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.x.com/x-api/posts/manage-tweets/quickstart\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.x.com/es/x-api/posts/manage-tweets/quickstart\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.x.com/fr/x-api/posts/manage-tweets/quickstart\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.x.com/ja/x-api/posts/manage-tweets/quickstart\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.x.com/ko/x-api/posts/manage-tweets/quickstart\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.x.com/x-api/posts/manage-tweets/quickstart\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.x.com/#organization\",\"name\":\"X\",\"url\":\"https://docs.x.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/generaltranslation/p-tsc5qa00w8y5M4/logo/light.svg?fit=max\u0026auto=format\u0026n=p-tsc5qa00w8y5M4\u0026q=85\u0026s=299a991122fb35a82f868bc62a8be1ae\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.x.com#website\",\"name\":\"X\",\"url\":\"https://docs.x.com\",\"publisher\":{\"@id\":\"https://docs.x.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.x.com/hi/x-api/posts/manage-tweets/quickstart#webpage\",\"url\":\"https://docs.x.com/hi/x-api/posts/manage-tweets/quickstart\",\"name\":\"त्वरित शुरुआत\",\"description\":\"X API का उपयोग करके पोस्ट्स बनाएँ और हटाएँ\",\"dateModified\":\"2026-04-02T03:18:06.102Z\",\"isPartOf\":{\"@id\":\"https://docs.x.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.x.com/hi/x-api/posts/manage-tweets/quickstart#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.x.com/hi/x-api/posts/manage-tweets/quickstart#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"पोस्ट्स\",\"item\":\"https://docs.x.com/hi/x-api/posts/search/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"पोस्ट्स प्रबंधित करें\",\"item\":\"https://docs.x.com/hi/x-api/posts/manage-tweets/introduction\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"त्वरित शुरुआत\",\"item\":\"https://docs.x.com/hi/x-api/posts/manage-tweets/quickstart\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.x.com/hi/x-api/posts/manage-tweets/quickstart#article\",\"headline\":\"त्वरित शुरुआत\",\"name\":\"त्वरित शुरुआत\",\"description\":\"X API का उपयोग करके पोस्ट्स बनाएँ और हटाएँ\",\"url\":\"https://docs.x.com/hi/x-api/posts/manage-tweets/quickstart\",\"mainEntityOfPage\":{\"@id\":\"https://docs.x.com/hi/x-api/posts/manage-tweets/quickstart#webpage\"},\"dateModified\":\"2026-04-02T03:18:06.102Z\",\"keywords\":\"पोस्ट्स प्रबंधन त्वरित शुरुआत, पोस्ट करने की त्वरित शुरुआत, Tweet बनाने का ट्यूटोरियल, Tweet निर्माण मार्गदर्शिका, पोस्ट करने का उदाहरण\",\"publisher\":{\"@id\":\"https://docs.x.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.x.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"X\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"X\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/hi/x-api/posts/manage-tweets/quickstart.md","siteName":"X","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/x-api/posts/manage-tweets/quickstart"}]},{"language":"es","pages":[{"title":"es","href":"/es/x-api/posts/manage-tweets/quickstart"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/x-api/posts/manage-tweets/quickstart"}]},{"language":"hi","tabs":[{"tab":"मुखपृष्ठ","pages":[{"title":"मुखपृष्ठ","href":"/hi/overview"}]},{"tab":"X API","groups":[{"group":"अवलोकन","pages":[{"title":"X API","sidebarTitle":"परिचय","mode":"wide","href":"/hi/x-api/introduction"},{"group":"शुरुआत","pages":[{"title":"X API के बारे में","sidebarTitle":"X API के बारे में","href":"/hi/x-api/getting-started/about-x-api"},{"title":"मूल्य निर्धारण","sidebarTitle":"मूल्य निर्धारण","href":"/hi/x-api/getting-started/pricing"},{"title":"पहुँच प्राप्त करना","sidebarTitle":"पहुँच प्राप्त करना","href":"/hi/x-api/getting-started/getting-access"},{"title":"अपना पहला अनुरोध करें","sidebarTitle":"अपना पहला अनुरोध करें","href":"/hi/x-api/getting-started/make-your-first-request"},{"title":"महत्वपूर्ण संसाधन","sidebarTitle":"महत्वपूर्ण संसाधन","href":"/hi/x-api/getting-started/important-resources"}]},{"group":"टूल और लाइब्रेरीज़","pages":[{"title":"टूल्स और लाइब्रेरी","sidebarTitle":"अवलोकन","href":"/hi/x-api/tools-and-libraries/overview"},{"title":"आधिकारिक SDK","sidebarTitle":"SDKs","href":"/hi/x-api/tools-and-libraries/sdks"}]},{"group":"माइग्रेशन मार्गदर्शिका","pages":[{"title":"अवलोकन","href":"/hi/x-api/migrate/overview"},{"title":"डेटा फ़ॉर्मैट माइग्रेशन","href":"/hi/x-api/migrate/data-format-migration"},{"title":"X API एंडपॉइंट मैप","href":"/hi/x-api/migrate/x-api-endpoint-map"}]},{"title":"क्या बनाएं","sidebarTitle":"क्या बनाएं","href":"/hi/x-api/what-to-build"},{"group":"बुनियादी बातें","pages":[{"title":"डेटा डिक्शनरी","sidebarTitle":"डेटा डिक्शनरी","href":"/hi/x-api/fundamentals/data-dictionary"},{"title":"फ़ील्ड्स","sidebarTitle":"फ़ील्ड्स","href":"/hi/x-api/fundamentals/fields"},{"title":"Expansions","sidebarTitle":"Expansions","href":"/hi/x-api/fundamentals/expansions"},{"title":"पोस्ट एनोटेशन","sidebarTitle":"एनोटेशन","href":"/hi/x-api/fundamentals/post-annotations"},{"title":"मेट्रिक्स","sidebarTitle":"मेट्रिक्स","href":"/hi/x-api/fundamentals/metrics"},{"title":"वार्तालाप ID","sidebarTitle":"वार्तालाप ID","href":"/hi/x-api/fundamentals/conversation-id"},{"title":"पेजिनेशन","sidebarTitle":"पेजिनेशन","href":"/hi/x-api/fundamentals/pagination"},{"title":"वर्ज़निंग","sidebarTitle":"वर्ज़निंग","href":"/hi/x-api/fundamentals/versioning"},{"title":"API एकरूपता","sidebarTitle":"एकरूपता","href":"/hi/x-api/fundamentals/consistency"},{"title":"X API रेट लिमिट्स","sidebarTitle":"रेट लिमिट्स","href":"/hi/x-api/fundamentals/rate-limits"},{"title":"उपयोग और बिलिंग","sidebarTitle":"उपयोग और बिलिंग","href":"/hi/x-api/fundamentals/post-cap"},{"title":"पोस्ट्स संपादित करें","sidebarTitle":"पोस्ट्स संपादित करें","href":"/hi/x-api/fundamentals/edit-posts"},{"title":"रिस्पॉन्स कोड और त्रुटियाँ","sidebarTitle":"रिस्पॉन्स कोड","href":"/hi/x-api/fundamentals/response-codes-and-errors"}]}]},{"group":"पोस्ट्स","pages":[{"group":"खोज","pages":[{"title":"पोस्ट्स खोजें","sidebarTitle":"परिचय","href":"/hi/x-api/posts/search/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"group":"त्वरित शुरुआत","pages":[{"title":"हालिया खोज की त्वरित शुरुआत","sidebarTitle":"हालिया खोज","href":"/hi/x-api/posts/search/quickstart/recent-search"},{"title":"पूर्ण आर्काइव खोज त्वरित शुरुआत","sidebarTitle":"पूर्ण आर्काइव खोज","href":"/hi/x-api/posts/search/quickstart/full-archive-search"}]},{"group":"एकीकरण मार्गदर्शिका","pages":[{"title":"इंटीग्रेशन गाइड","sidebarTitle":"अवलोकन","href":"/hi/x-api/posts/search/integrate/overview"},{"title":"क्वेरी बनाएं","sidebarTitle":"क्वेरी बनाएं","href":"/hi/x-api/posts/search/integrate/build-a-query"},{"title":"खोज ऑपरेटर","sidebarTitle":"ऑपरेटर","href":"/hi/x-api/posts/search/integrate/operators"},{"title":"पेजिनेशन","sidebarTitle":"पेजिनेशन","href":"/hi/x-api/posts/search/integrate/paginate"}]}]},{"openapi":"/hi/openapi.json GET /2/tweets/search/all","title":"सभी पोस्ट्स खोजें","href":"/hi/x-api/posts/search-all-posts"},{"openapi":"/hi/openapi.json GET /2/tweets/search/recent","title":"हाल के पोस्ट्स खोजें","href":"/hi/x-api/posts/search-recent-posts"}]},{"group":"पोस्ट्स की संख्या","pages":[{"title":"पोस्ट संख्या","sidebarTitle":"परिचय","href":"/hi/x-api/posts/counts/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"group":"त्वरित शुरुआत","pages":[{"title":"हाल के पोस्ट की संख्या","sidebarTitle":"हाल के पोस्ट की संख्या","href":"/hi/x-api/posts/counts/quickstart/recent-tweet-counts"},{"title":"पूर्ण-आर्काइव पोस्ट की गिनती","sidebarTitle":"पूर्ण-आर्काइव पोस्ट की गिनती","href":"/hi/x-api/posts/counts/quickstart/full-archive-tweet-counts"}]},{"group":"एकीकरण मार्गदर्शिका","pages":[{"title":"अवलोकन","sidebarTitle":"अवलोकन","href":"/hi/x-api/posts/counts/integrate/overview"},{"title":"क्वेरी बनाएँ","sidebarTitle":"क्वेरी बनाएँ","href":"/hi/x-api/posts/counts/integrate/build-a-query"}]}]},{"openapi":"/hi/openapi.json GET /2/tweets/counts/all","title":"सभी पोस्ट्स की संख्या प्राप्त करें","href":"/hi/x-api/posts/get-count-of-all-posts"},{"openapi":"/hi/openapi.json GET /2/tweets/counts/recent","title":"हाल की पोस्ट्स की संख्या प्राप्त करें","href":"/hi/x-api/posts/get-count-of-recent-posts"}]},{"group":"फ़िल्टर्ड स्ट्रीम","pages":[{"title":"फ़िल्टर की गई स्ट्रीम","sidebarTitle":"परिचय","href":"/hi/x-api/posts/filtered-stream/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/posts/filtered-stream/quickstart"},{"group":"एकीकरण मार्गदर्शिका","pages":[{"title":"एक नियम बनाएं","sidebarTitle":"एक नियम बनाएं","href":"/hi/x-api/posts/filtered-stream/integrate/build-a-rule"},{"title":"स्ट्रीम नियम ऑपरेटर","sidebarTitle":"ऑपरेटर","href":"/hi/x-api/posts/filtered-stream/integrate/operators"},{"title":"स्ट्रीमिंग डेटा प्राप्त करना","sidebarTitle":"स्ट्रीमिंग डेटा प्राप्त करना","href":"/hi/x-api/posts/filtered-stream/integrate/consuming-streaming-data"},{"title":"डिस्कनेक्शन को संभालना","sidebarTitle":"डिस्कनेक्शन को संभालना","href":"/hi/x-api/posts/filtered-stream/integrate/handling-disconnections"},{"title":"उच्च-वॉल्यूम क्षमता का प्रबंधन","sidebarTitle":"उच्च-वॉल्यूम क्षमता का प्रबंधन","href":"/hi/x-api/posts/filtered-stream/integrate/handling-high-volume-capacity"},{"title":"पोस्ट्स का नियमों से मिलान","sidebarTitle":"पोस्ट्स का नियमों से मिलान","href":"/hi/x-api/posts/filtered-stream/integrate/matching-returned-tweets"},{"title":"रिकवरी और रिडंडेंसी","sidebarTitle":"रिकवरी और रिडंडेंसी","href":"/hi/x-api/posts/filtered-stream/integrate/recovery-and-redundancy-features"}]}]},{"openapi":"/hi/openapi.json GET /2/tweets/search/stream","title":"फ़िल्टर किए गए पोस्ट्स स्ट्रीम करें","href":"/hi/x-api/stream/stream-filtered-posts"},{"openapi":"/hi/openapi.json GET /2/tweets/search/stream/rules","title":"स्ट्रीम नियम प्राप्त करें","href":"/hi/x-api/stream/get-stream-rules"},{"openapi":"/hi/openapi.json GET /2/tweets/search/stream/rules/counts","title":"स्ट्रीम नियमों की संख्या प्राप्त करें","href":"/hi/x-api/stream/get-stream-rule-counts"},{"openapi":"/hi/openapi.json POST /2/tweets/search/stream/rules","title":"स्ट्रीम नियम अपडेट करें","href":"/hi/x-api/stream/update-stream-rules"}]},{"group":"टाइमलाइन्स","pages":[{"title":"टाइमलाइन्स","sidebarTitle":"परिचय","href":"/hi/x-api/posts/timelines/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"group":"त्वरित शुरुआत","pages":[{"title":"होम टाइमलाइन की त्वरित शुरुआत","sidebarTitle":"होम टाइमलाइन","href":"/hi/x-api/posts/timelines/quickstart/reverse-chron-quickstart"},{"title":"उपयोगकर्ता मेंशन की टाइमलाइन","sidebarTitle":"उपयोगकर्ता मेंशन","href":"/hi/x-api/posts/timelines/quickstart/user-mention-quickstart"}]},{"title":"एकीकरण मार्गदर्शिका","sidebarTitle":"एकीकरण मार्गदर्शिका","href":"/hi/x-api/posts/timelines/integrate"}]},{"openapi":"/hi/openapi.json GET /2/users/{id}/tweets","title":"पोस्ट्स प्राप्त करें","href":"/hi/x-api/users/get-posts"},{"openapi":"/hi/openapi.json GET /2/users/{id}/mentions","title":"मेंटions प्राप्त करें","href":"/hi/x-api/users/get-mentions"},{"openapi":"/hi/openapi.json GET /2/users/{id}/timelines/reverse_chronological","title":"टाइमलाइन प्राप्त करें","href":"/hi/x-api/users/get-timeline"}]},{"group":"पोस्ट लुकअप","pages":[{"title":"पोस्ट लुकअप","sidebarTitle":"परिचय","href":"/hi/x-api/posts/lookup/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/posts/lookup/quickstart"},{"title":"एकीकरण मार्गदर्शिका","sidebarTitle":"एकीकरण मार्गदर्शिका","href":"/hi/x-api/posts/lookup/integrate"}]},{"openapi":"/hi/openapi.json GET /2/tweets","title":"id के आधार पर पोस्ट्स प्राप्त करें","href":"/hi/x-api/posts/get-posts-by-ids"},{"openapi":"/hi/openapi.json GET /2/tweets/{id}","title":"id के आधार पर पोस्ट प्राप्त करें","href":"/hi/x-api/posts/get-post-by-id"}]},{"group":"बुकमार्क्स","pages":[{"title":"बुकमार्क्स","sidebarTitle":"परिचय","href":"/hi/x-api/posts/bookmarks/introduction"},{"group":"गाइड","pages":[{"group":"त्वरित शुरुआत","pages":[{"title":"बुकमार्क्स लुकअप","sidebarTitle":"बुकमार्क्स लुकअप","href":"/hi/x-api/posts/bookmarks/quickstart/bookmarks-lookup"},{"title":"बुकमार्क प्रबंधित करें","sidebarTitle":"बुकमार्क प्रबंधित करें","href":"/hi/x-api/posts/bookmarks/quickstart/manage-bookmarks"}]},{"title":"एकीकरण गाइड","sidebarTitle":"एकीकरण गाइड","href":"/hi/x-api/posts/bookmarks/integrate"}]},{"group":"बुकमार्क फ़ोल्डर","pages":[{"openapi":"/hi/openapi.json GET /2/users/{id}/bookmarks/folders","title":"बुकमार्क फ़ोल्डर प्राप्त करें","href":"/hi/x-api/users/get-bookmark-folders"},{"openapi":"/hi/openapi.json GET /2/users/{id}/bookmarks/folders/{folder_id}","title":"फ़ोल्डर ID द्वारा बुकमार्क्स प्राप्त करें","href":"/hi/x-api/bookmarks/get-bookmarks-by-folder-id"}]},{"openapi":"/hi/openapi.json GET /2/users/{id}/bookmarks","title":"बुकमार्क्स प्राप्त करें","href":"/hi/x-api/users/get-bookmarks"},{"openapi":"/hi/openapi.json POST /2/users/{id}/bookmarks","title":"बुकमार्क बनाएँ","href":"/hi/x-api/users/create-bookmark"},{"openapi":"/hi/openapi.json DELETE /2/users/{id}/bookmarks/{tweet_id}","title":"बुकमार्क हटाएँ","href":"/hi/x-api/users/delete-bookmark"}]},{"group":"पोस्ट्स प्रबंधित करें","pages":[{"title":"पोस्ट्स प्रबंधित करें","sidebarTitle":"परिचय","description":"प्रमाणीकृत उपयोगकर्ताओं की ओर से पोस्ट्स बनाएँ और हटाएँ","href":"/hi/x-api/posts/manage-tweets/introduction"},{"group":"गाइड","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/posts/manage-tweets/quickstart"},{"title":"एकीकरण मार्गदर्शिका","sidebarTitle":"एकीकरण मार्गदर्शिका","description":null,"href":"/hi/x-api/posts/manage-tweets/integrate"}]},{"openapi":"/hi/openapi.json POST /2/tweets","title":"पोस्ट बनाएँ या संपादित करें","href":"/hi/x-api/posts/create-post"},{"openapi":"/hi/openapi.json DELETE /2/tweets/{id}","title":"पोस्ट हटाएँ","href":"/hi/x-api/posts/delete-post"}]},{"group":"रीपोस्ट्स","pages":[{"title":"रीट्वीट","sidebarTitle":"परिचय","href":"/hi/x-api/posts/retweets/introduction"},{"group":"गाइड","pages":[{"group":"त्वरित शुरुआत","pages":[{"title":"रीट्वीट्स लुकअप","sidebarTitle":"रीट्वीट्स लुकअप","href":"/hi/x-api/posts/retweets/quickstart/retweets-lookup"},{"title":"रीट्वीट प्रबंधित करें","sidebarTitle":"रीट्वीट प्रबंधित करें","href":"/hi/x-api/posts/retweets/quickstart/manage-retweets"},{"title":"Retweets of Me","sidebarTitle":"Retweets of Me","href":"/hi/x-api/posts/retweets/quickstart/retweets-of-me"}]},{"title":"एकीकरण गाइड","sidebarTitle":"एकीकरण गाइड","href":"/hi/x-api/posts/retweets/integrate"}]},{"openapi":"/hi/openapi.json GET /2/tweets/{id}/retweeted_by","title":"किसने रीपोस्ट किया, यह प्राप्त करें","href":"/hi/x-api/posts/get-reposted-by"},{"openapi":"/hi/openapi.json POST /2/users/{id}/retweets","title":"पोस्ट को रीपोस्ट करें","href":"/hi/x-api/users/repost-post"},{"openapi":"/hi/openapi.json DELETE /2/users/{id}/retweets/{source_tweet_id}","title":"पोस्ट का रीपोस्ट हटाएँ","href":"/hi/x-api/users/unrepost-post"},{"openapi":"/hi/openapi.json GET /2/tweets/{id}/retweets","title":"रीपोस्ट्स प्राप्त करें","href":"/hi/x-api/posts/get-reposts"},{"openapi":"/hi/openapi.json GET /2/users/reposts_of_me","title":"मेरे रीपोस्ट्स प्राप्त करें","href":"/hi/x-api/users/get-reposts-of-me"}]},{"group":"कोट्स","pages":[{"title":"उद्धृत पोस्ट्स","sidebarTitle":"परिचय","href":"/hi/x-api/posts/quote-tweets/introduction"},{"group":"गाइड","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/posts/quote-tweets/quickstart"}]},{"openapi":"/hi/openapi.json GET /2/tweets/{id}/quote_tweets","title":"उद्धृत पोस्ट्स प्राप्त करें","href":"/hi/x-api/posts/get-quoted-posts"}]},{"group":"जवाब छिपाएँ","pages":[{"title":"जवाब छिपाएँ","sidebarTitle":"परिचय","href":"/hi/x-api/posts/hide-replies/introduction"},{"title":"ऐप्स","sidebarTitle":"ऐप्स","href":"/hi/x-api/posts/hide-replies/apps"},{"group":"गाइड","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/posts/hide-replies/quickstart"},{"group":"इंटीग्रेशन गाइड","pages":[{"title":"विषय के आधार पर जवाबों का प्रबंधन","sidebarTitle":"विषय के आधार पर जवाबों का प्रबंधन","href":"/hi/x-api/posts/hide-replies/integrate/manage-replies-by-topic"},{"title":"विषय के अनुसार रिप्लाई प्रबंधित करें","sidebarTitle":"विषय के अनुसार रिप्लाई प्रबंधित करें","href":"/hi/x-api/posts/hide-replies/integrate/manage-replies-in-realtime"}]}]},{"openapi":"/hi/openapi.json PUT /2/tweets/{tweet_id}/hidden","title":"जवाब छिपाएँ","href":"/hi/x-api/posts/hide-reply"}]}]},{"group":"उपयोगकर्ता","pages":[{"group":"उपयोगकर्ता लुकअप","pages":[{"title":"उपयोगकर्ता खोज","sidebarTitle":"परिचय","href":"/hi/x-api/users/lookup/introduction"},{"group":"गाइड","pages":[{"group":"त्वरित शुरुआत","pages":[{"title":"उपयोगकर्ता खोज की त्वरित शुरुआत","sidebarTitle":"उपयोगकर्ता खोज","href":"/hi/x-api/users/lookup/quickstart/user-lookup"},{"title":"प्रमाणीकृत उपयोगकर्ता त्वरित शुरुआत","sidebarTitle":"प्रमाणीकृत उपयोगकर्ता","href":"/hi/x-api/users/lookup/quickstart/authenticated-lookup"}]},{"title":"एकीकरण मार्गदर्शिका","sidebarTitle":"एकीकरण मार्गदर्शिका","href":"/hi/x-api/users/lookup/integrate"}]},{"openapi":"/hi/openapi.json GET /2/users/{id}","title":"ID द्वारा उपयोगकर्ता प्राप्त करें","href":"/hi/x-api/users/get-user-by-id"},{"openapi":"/hi/openapi.json GET /2/users","title":"IDs द्वारा उपयोगकर्ता प्राप्त करें","href":"/hi/x-api/users/get-users-by-ids"},{"openapi":"/hi/openapi.json GET /2/users/by","title":"उपयोगकर्ता नामों द्वारा उपयोगकर्ता प्राप्त करें","href":"/hi/x-api/users/get-users-by-usernames"},{"openapi":"/hi/openapi.json GET /2/users/by/username/{username}","title":"उपयोगकर्ता नाम द्वारा उपयोगकर्ता प्राप्त करें","href":"/hi/x-api/users/get-user-by-username"},{"openapi":"/hi/openapi.json GET /2/users/me","title":"मेरा उपयोगकर्ता विवरण प्राप्त करें","href":"/hi/x-api/users/get-my-user"}]},{"group":"खोज","pages":[{"title":"उपयोगकर्ता खोज","sidebarTitle":"परिचय","href":"/hi/x-api/users/search/introduction"},{"openapi":"/hi/openapi.json GET /2/users/search","title":"उपयोगकर्ताओं को खोजें","href":"/hi/x-api/users/search-users"}]},{"group":"फ़ॉलो","pages":[{"title":"फ़ॉलो","sidebarTitle":"परिचय","href":"/hi/x-api/users/follows/introduction"},{"group":"गाइड","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/users/follows/quickstart"}]},{"openapi":"/hi/openapi.json GET /2/users/{id}/followers","title":"फ़ॉलोअर्स प्राप्त करें","href":"/hi/x-api/users/get-followers"},{"openapi":"/hi/openapi.json GET /2/users/{id}/following","title":"फ़ॉलो किए जा रहे खाते प्राप्त करें","href":"/hi/x-api/users/get-following"},{"openapi":"/hi/openapi.json POST /2/users/{id}/following","title":"उपयोगकर्ता को फ़ॉलो करें","href":"/hi/x-api/users/follow-user"},{"openapi":"/hi/openapi.json DELETE /2/users/{source_user_id}/following/{target_user_id}","title":"उपयोगकर्ता को अनफ़ॉलो करें","href":"/hi/x-api/users/unfollow-user"}]},{"group":"म्यूट","pages":[{"title":"म्यूट","sidebarTitle":"परिचय","href":"/hi/x-api/users/mutes/introduction"},{"group":"गाइड","pages":[{"group":"त्वरित शुरुआत","pages":[{"title":"म्यूट प्रबंधित करें","sidebarTitle":"म्यूट प्रबंधित करें","href":"/hi/x-api/users/mutes/quickstart/manage-mutes-quickstart"},{"title":"म्यूट किए गए उपयोगकर्ताओं की सूची","sidebarTitle":"म्यूट किए गए उपयोगकर्ताओं की सूची","href":"/hi/x-api/users/mutes/quickstart/mutes-lookup"}]},{"title":"एकीकरण मार्गदर्शिका","sidebarTitle":"एकीकरण मार्गदर्शिका","href":"/hi/x-api/users/mutes/integrate"}]},{"openapi":"/hi/openapi.json POST /2/users/{id}/muting","title":"उपयोगकर्ता को म्यूट करें","href":"/hi/x-api/users/mute-user"},{"openapi":"/hi/openapi.json DELETE /2/users/{source_user_id}/muting/{target_user_id}","title":"उपयोगकर्ता को अनम्यूट करें","href":"/hi/x-api/users/unmute-user"},{"openapi":"/hi/openapi.json GET /2/users/{id}/muting","title":"म्यूट किए गए खाते प्राप्त करें","href":"/hi/x-api/users/get-muting"}]},{"group":"ब्लॉक्स","pages":[{"title":"ब्लॉक","sidebarTitle":"परिचय","href":"/hi/x-api/users/blocks/introduction"},{"group":"गाइड","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/users/blocks/quickstart"},{"title":"एकीकरण गाइड","sidebarTitle":"एकीकरण गाइड","href":"/hi/x-api/users/blocks/integrate"}]},{"openapi":"/hi/openapi.json GET /2/users/{id}/blocking","title":"ब्लॉक किए गए खाते प्राप्त करें","href":"/hi/x-api/users/get-blocking"}]}]},{"group":"डायरेक्ट मैसेज","pages":[{"group":"प्रबंधन","pages":[{"title":"डायरेक्ट मैसेज प्रबंधित करें","sidebarTitle":"परिचय","href":"/hi/x-api/direct-messages/manage/introduction"},{"group":"गाइड","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/direct-messages/manage/quickstart"},{"title":"एकीकरण मार्गदर्शिका","sidebarTitle":"एकीकरण मार्गदर्शिका","href":"/hi/x-api/direct-messages/manage/integrate"}]},{"openapi":"/hi/openapi.json POST /2/dm_conversations","title":"DM वार्तालाप बनाएँ","href":"/hi/x-api/direct-messages/create-dm-conversation"},{"openapi":"/hi/openapi.json DELETE /2/dm_events/{event_id}","title":"DM इवेंट हटाएँ","href":"/hi/x-api/direct-messages/delete-dm-event"},{"openapi":"/hi/openapi.json POST /2/dm_conversations/with/{participant_id}/messages","title":"प्रतिभागी id द्वारा DM संदेश बनाएँ","href":"/hi/x-api/direct-messages/create-dm-message-by-participant-id"},{"openapi":"/hi/openapi.json POST /2/dm_conversations/{dm_conversation_id}/messages","title":"वार्तालाप id द्वारा DM संदेश बनाएँ","href":"/hi/x-api/direct-messages/create-dm-message-by-conversation-id"}]},{"group":"लुकअप","pages":[{"title":"डायरेक्ट मैसेज लुकअप","sidebarTitle":"परिचय","href":"/hi/x-api/direct-messages/lookup/introduction"},{"group":"गाइड","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/direct-messages/lookup/quickstart"},{"title":"एकीकरण मार्गदर्शिका","sidebarTitle":"एकीकरण मार्गदर्शिका","href":"/hi/x-api/direct-messages/lookup/integrate"}]},{"openapi":"/hi/openapi.json GET /2/dm_conversations/with/{participant_id}/dm_events","title":"किसी DM वार्तालाप के लिए DM इवेंट प्राप्त करें","href":"/hi/x-api/direct-messages/get-dm-events-for-a-dm-conversation"},{"openapi":"/hi/openapi.json GET /2/dm_conversations/{id}/dm_events","title":"किसी DM वार्तालाप के लिए DM इवेंट प्राप्त करें","href":"/hi/x-api/direct-messages/get-dm-events-for-a-dm-conversation-1"},{"openapi":"/hi/openapi.json GET /2/dm_events","title":"DM इवेंट प्राप्त करें","href":"/hi/x-api/direct-messages/get-dm-events"},{"openapi":"/hi/openapi.json GET /2/dm_events/{event_id}","title":"id द्वारा DM इवेंट प्राप्त करें","href":"/hi/x-api/direct-messages/get-dm-event-by-id"}]},{"group":"ब्लॉक्स","pages":[{"title":"परिचय","sidebarTitle":"परिचय","href":"/hi/x-api/direct-messages/blocks/introduction"},{"openapi":"/hi/openapi.json POST /2/users/{id}/dm/block","title":"DMs ब्लॉक करें","href":"/hi/x-api/users/block-dms"},{"openapi":"/hi/openapi.json POST /2/users/{id}/dm/unblock","title":"DMs अनब्लॉक करें","href":"/hi/x-api/users/unblock-dms"}]}]},{"group":"लाइक्स","pages":[{"title":"लाइक्स","sidebarTitle":"परिचय","href":"/hi/x-api/posts/likes/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"group":"त्वरित शुरुआत","pages":[{"title":"लाइक्स लुकअप","sidebarTitle":"लाइक्स लुकअप","href":"/hi/x-api/posts/likes/quickstart/likes-lookup"},{"title":"लाइक्स प्रबंधित करें","sidebarTitle":"लाइक्स प्रबंधित करें","href":"/hi/x-api/posts/likes/quickstart/manage-likes"}]}]},{"openapi":"/hi/openapi.json GET /2/users/{id}/liked_tweets","title":"पसंद की गई पोस्ट्स प्राप्त करें","href":"/hi/x-api/users/get-liked-posts"},{"openapi":"/hi/openapi.json GET /2/tweets/{id}/liking_users","title":"लाइक करने वाले उपयोगकर्ता प्राप्त करें","href":"/hi/x-api/posts/get-liking-users"},{"openapi":"/hi/openapi.json POST /2/users/{id}/likes","title":"पोस्ट को पसंद करें","href":"/hi/x-api/users/like-post"},{"openapi":"/hi/openapi.json DELETE /2/users/{id}/likes/{tweet_id}","title":"पोस्ट को अनलाइक करें","href":"/hi/x-api/users/unlike-post"}]},{"group":"सूचियाँ","pages":[{"group":"सूचियाँ देखें","pages":[{"title":"सूची खोज","sidebarTitle":"परिचय","href":"/hi/x-api/lists/list-lookup/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/lists/list-lookup/quickstart"},{"title":"एकीकरण मार्गदर्शिका","sidebarTitle":"एकीकरण मार्गदर्शिका","href":"/hi/x-api/lists/list-lookup/integrate"}]},{"openapi":"/hi/openapi.json GET /2/lists/{id}","title":"ID द्वारा सूची प्राप्त करें","href":"/hi/x-api/lists/get-list-by-id"},{"openapi":"/hi/openapi.json GET /2/users/{id}/followed_lists","title":"फ़ॉलो की गई सूचियाँ प्राप्त करें","href":"/hi/x-api/users/get-followed-lists"},{"openapi":"/hi/openapi.json GET /2/users/{id}/owned_lists","title":"स्वामित्व वाली सूचियाँ प्राप्त करें","href":"/hi/x-api/users/get-owned-lists"}]},{"group":"सूची पोस्ट्स देखें","pages":[{"title":"सूची पोस्ट्स","sidebarTitle":"परिचय","href":"/hi/x-api/lists/list-tweets/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/lists/list-tweets/quickstart"},{"title":"एकीकरण मार्गदर्शिका","sidebarTitle":"एकीकरण मार्गदर्शिका","href":"/hi/x-api/lists/list-tweets/integrate"}]},{"openapi":"/hi/openapi.json GET /2/lists/{id}/tweets","title":"सूची के पोस्ट्स प्राप्त करें","href":"/hi/x-api/lists/get-list-posts"}]},{"group":"सूचियाँ प्रबंधित करें","pages":[{"title":"सूचियों का प्रबंधन","sidebarTitle":"परिचय","href":"/hi/x-api/lists/manage-lists/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/lists/manage-lists/quickstart"},{"title":"एकीकरण मार्गदर्शिका","sidebarTitle":"एकीकरण मार्गदर्शिका","href":"/hi/x-api/lists/manage-lists/integrate"}]},{"openapi":"/hi/openapi.json POST /2/lists","title":"सूची बनाएँ","href":"/hi/x-api/lists/create-list"},{"openapi":"/hi/openapi.json PUT /2/lists/{id}","title":"सूची अपडेट करें","href":"/hi/x-api/lists/update-list"},{"openapi":"/hi/openapi.json DELETE /2/lists/{id}","title":"सूची हटाएँ","href":"/hi/x-api/lists/delete-list"},{"openapi":"/hi/openapi.json POST /2/users/{id}/followed_lists","title":"सूची को फ़ॉलो करें","href":"/hi/x-api/users/follow-list"},{"openapi":"/hi/openapi.json DELETE /2/users/{id}/followed_lists/{list_id}","title":"सूची को अनफ़ॉलो करें","href":"/hi/x-api/users/unfollow-list"}]},{"group":"सूची के सदस्य","pages":[{"title":"सूची के सदस्य","sidebarTitle":"परिचय","href":"/hi/x-api/lists/list-members/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"group":"त्वरित शुरुआत","pages":[{"title":"सूची सदस्यों का अवलोकन","sidebarTitle":"अवलोकन","href":"/hi/x-api/lists/list-members/quickstart/overview"},{"title":"सूची सदस्यों की लुकअप","sidebarTitle":"सूची सदस्यों की लुकअप","href":"/hi/x-api/lists/list-members/quickstart/list-members-lookup"},{"title":"सूची सदस्यों का प्रबंधन","sidebarTitle":"सूची सदस्यों का प्रबंधन","href":"/hi/x-api/lists/list-members/quickstart/manage-list-members"}]},{"title":"एकीकरण मार्गदर्शिका","sidebarTitle":"एकीकरण मार्गदर्शिका","href":"/hi/x-api/lists/list-members/integrate"}]},{"group":"प्रबंधित करें","pages":[{"openapi":"/hi/openapi.json POST /2/lists/{id}/members","title":"सूची में सदस्य जोड़ें","href":"/hi/x-api/lists/add-list-member"},{"openapi":"/hi/openapi.json DELETE /2/lists/{id}/members/{user_id}","title":"सूची से सदस्य हटाएँ","href":"/hi/x-api/lists/remove-list-member"}]},{"group":"देखें","pages":[{"openapi":"/hi/openapi.json GET /2/users/{id}/list_memberships","title":"सूची सदस्यताएँ प्राप्त करें","href":"/hi/x-api/users/get-list-memberships"},{"openapi":"/hi/openapi.json GET /2/lists/{id}/followers","title":"सूची के फ़ॉलोअर्स प्राप्त करें","href":"/hi/x-api/lists/get-list-followers"},{"openapi":"/hi/openapi.json GET /2/lists/{id}/members","title":"सूची के सदस्य प्राप्त करें","href":"/hi/x-api/lists/get-list-members"}]}]},{"group":"पिन की गई सूचियाँ","pages":[{"title":"पिन की गई सूचियाँ","sidebarTitle":"परिचय","href":"/hi/x-api/lists/pinned-lists/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"group":"त्वरित शुरुआत","pages":[{"title":"पिन की गई सूचियों का अवलोकन","sidebarTitle":"अवलोकन","href":"/hi/x-api/lists/pinned-lists/quickstart/overview"},{"title":"पिन की गई सूचियों का लुकअप","sidebarTitle":"पिन की गई सूचियों का लुकअप","href":"/hi/x-api/lists/pinned-lists/quickstart/pinned-list-lookup"},{"title":"पिन की गई सूचियों को प्रबंधित करें","sidebarTitle":"पिन की गई सूचियों को प्रबंधित करें","href":"/hi/x-api/lists/pinned-lists/quickstart/manage-pinned-lists"}]},{"title":"एकीकरण गाइड","sidebarTitle":"एकीकरण गाइड","href":"/hi/x-api/lists/pinned-lists/integrate"}]},{"openapi":"/hi/openapi.json GET /2/users/{id}/pinned_lists","title":"पिन की गई सूचियाँ प्राप्त करें","href":"/hi/x-api/users/get-pinned-lists"},{"openapi":"/hi/openapi.json POST /2/users/{id}/pinned_lists","title":"सूची पिन करें","href":"/hi/x-api/users/pin-list"},{"openapi":"/hi/openapi.json DELETE /2/users/{id}/pinned_lists/{list_id}","title":"सूची अनपिन करें","href":"/hi/x-api/users/unpin-list"}]}]},{"group":"Spaces","pages":[{"title":"परिचय","sidebarTitle":"परिचय","href":"/hi/x-api/spaces/introduction"},{"group":"Spaces देखें","pages":[{"title":"Spaces खोज","sidebarTitle":"परिचय","href":"/hi/x-api/spaces/lookup/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/spaces/lookup/quickstart"}]},{"openapi":"/hi/openapi.json GET /2/spaces","title":"IDs द्वारा Spaces प्राप्त करें","href":"/hi/x-api/spaces/get-spaces-by-ids"},{"openapi":"/hi/openapi.json GET /2/spaces/by/creator_ids","title":"creator IDs द्वारा Spaces प्राप्त करें","href":"/hi/x-api/spaces/get-spaces-by-creator-ids"},{"openapi":"/hi/openapi.json GET /2/spaces/{id}","title":"ID द्वारा Space प्राप्त करें","href":"/hi/x-api/spaces/get-space-by-id"},{"openapi":"/hi/openapi.json GET /2/spaces/{id}/tweets","title":"Space पोस्ट्स प्राप्त करें","href":"/hi/x-api/spaces/get-space-posts"},{"openapi":"/hi/openapi.json GET /2/spaces/{id}/buyers","title":"Space के टिकट खरीदार प्राप्त करें","href":"/hi/x-api/spaces/get-space-ticket-buyers"}]},{"group":"Spaces खोजें","pages":[{"title":"Spaces Search","sidebarTitle":"परिचय","href":"/hi/x-api/spaces/search/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/spaces/search/quickstart"}]},{"openapi":"/hi/openapi.json GET /2/spaces/search","title":"Spaces खोजें","href":"/hi/x-api/spaces/search-spaces"}]}]},{"group":"Communities","pages":[{"group":"Communities देखें","pages":[{"title":"कम्युनिटीज़ लुकअप","sidebarTitle":"परिचय","href":"/hi/x-api/communities/lookup/introduction"},{"openapi":"/hi/openapi.json GET /2/communities/{id}","title":"id द्वारा कम्युनिटी प्राप्त करें","href":"/hi/x-api/communities/get-community-by-id"}]},{"group":"Communities खोजें","pages":[{"title":"Communities की खोज","sidebarTitle":"परिचय","href":"/hi/x-api/communities/search/introduction"},{"openapi":"/hi/openapi.json GET /2/communities/search","title":"कम्युनिटी खोजें","href":"/hi/x-api/communities/search-communities"}]}]},{"group":"Community Notes","pages":[{"title":null,"href":"/hi/x-api/community-notes/introduction"},{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/community-notes/quickstart"},{"openapi":"/hi/openapi.json GET /2/notes/search/posts_eligible_for_notes","title":"Community Notes के लिए पात्र पोस्ट्स खोजें","href":"/hi/x-api/community-notes/search-for-posts-eligible-for-community-notes"},{"openapi":"/hi/openapi.json GET /2/notes/search/notes_written","title":"लिखे गए Community Notes खोजें","href":"/hi/x-api/community-notes/search-for-community-notes-written"},{"openapi":"/hi/openapi.json POST /2/notes","title":"एक Community Note बनाएँ","href":"/hi/x-api/community-notes/create-a-community-note"},{"openapi":"/hi/openapi.json DELETE /2/notes/{id}","title":"एक Community Note हटाएँ","href":"/hi/x-api/community-notes/delete-a-community-note"},{"openapi":"/hi/openapi.json POST /2/evaluate_note","title":"किसी Community Note का मूल्यांकन करें","href":"/hi/x-api/community-notes/evaluate-a-community-note"}]},{"group":"ट्रेंड्स","pages":[{"group":"ट्रेंड्स","pages":[{"title":"WOEID के अनुसार रुझान","sidebarTitle":"परिचय","href":"/hi/x-api/trends/trends-by-woeid/introduction"},{"openapi":"/hi/openapi.json GET /2/trends/by/woeid/{woeid}","title":"WOEID के आधार पर ट्रेंड्स प्राप्त करें","href":"/hi/x-api/trends/get-trends-by-woeid"}]},{"group":"वैयक्तिकृत ट्रेंड्स","pages":[{"title":"वैयक्तिकृत ट्रेंड्स","sidebarTitle":"परिचय","href":"/hi/x-api/trends/personalized-trends/introduction"},{"openapi":"/hi/openapi.json GET /2/users/personalized_trends","title":"वैयक्तिकृत ट्रेंड्स प्राप्त करें","href":"/hi/x-api/trends/get-personalized-trends"}]}]},{"group":"समाचार","pages":[{"title":"परिचय","sidebarTitle":"परिचय","href":"/hi/x-api/news/introduction"},{"openapi":"/hi/openapi.json GET /2/news/{id}","title":"ID द्वारा समाचार कथाएँ प्राप्त करें","href":"/hi/x-api/news/get-news-stories-by-id"},{"openapi":"/hi/openapi.json GET /2/news/search","title":"समाचार खोजें","href":"/hi/x-api/news/search-news"}]},{"group":"मीडिया","pages":[{"title":"परिचय","sidebarTitle":"परिचय","href":"/hi/x-api/media/introduction"},{"group":"अपलोड","pages":[{"group":"मार्गदर्शिकाएँ","pages":[{"title":"सर्वोत्तम प्रक्रियाएँ","sidebarTitle":"सर्वोत्तम प्रक्रियाएँ","href":"/hi/x-api/media/quickstart/best-practices"},{"title":"चंक्ड मीडिया अपलोड","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/media/quickstart/media-upload-chunked"}]},{"openapi":"/hi/openapi.json POST /2/media/upload","title":"मीडिया अपलोड करें","href":"/hi/x-api/media/upload-media"},{"openapi":"/hi/openapi.json POST /2/media/upload/initialize","title":"मीडिया अपलोड आरंभ करें","href":"/hi/x-api/media/initialize-media-upload"},{"openapi":"/hi/openapi.json POST /2/media/upload/{id}/append","title":"मीडिया अपलोड में डेटा जोड़ें","href":"/hi/x-api/media/append-media-upload"},{"openapi":"/hi/openapi.json POST /2/media/upload/{id}/finalize","title":"मीडिया अपलोड पूरा करें","href":"/hi/x-api/media/finalize-media-upload"},{"openapi":"/hi/openapi.json GET /2/media/upload","title":"मीडिया अपलोड की स्थिति प्राप्त करें","href":"/hi/x-api/media/get-media-upload-status"}]},{"group":"मेटाडेटा","pages":[{"openapi":"/hi/openapi.json POST /2/media/metadata","title":"मीडिया मेटाडेटा बनाएँ","href":"/hi/x-api/media/create-media-metadata"},{"openapi":"/hi/openapi.json POST /2/media/subtitles","title":"मीडिया उपशीर्षक बनाएँ","href":"/hi/x-api/media/create-media-subtitles"},{"openapi":"/hi/openapi.json DELETE /2/media/subtitles","title":"मीडिया उपशीर्षक हटाएँ","href":"/hi/x-api/media/delete-media-subtitles"}]}]},{"group":"X गतिविधि","pages":[{"title":"गतिविधि स्ट्रीम","sidebarTitle":"परिचय","href":"/hi/x-api/activity/introduction"},{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/activity/quickstart"},{"openapi":"/hi/openapi.json GET /2/activity/stream","title":"एक्टिविटी स्ट्रीम","href":"/hi/x-api/activity/activity-stream"},{"openapi":"/hi/openapi.json POST /2/activity/subscriptions","title":"X एक्टिविटी सदस्यता बनाएँ","href":"/hi/x-api/activity/create-x-activity-subscription"},{"openapi":"/hi/openapi.json DELETE /2/activity/subscriptions/{subscription_id}","title":"X एक्टिविटी सदस्यता हटाएँ","href":"/hi/x-api/activity/deletes-x-activity-subscription"},{"openapi":"/hi/openapi.json GET /2/activity/subscriptions","title":"X एक्टिविटी सदस्यताएँ प्राप्त करें","href":"/hi/x-api/activity/get-x-activity-subscriptions"},{"openapi":"/hi/openapi.json PUT /2/activity/subscriptions/{subscription_id}","title":"X एक्टिविटी सदस्यता अपडेट करें","href":"/hi/x-api/activity/update-x-activity-subscription"}]},{"group":"उपयोग","pages":[{"title":"उपयोग","sidebarTitle":"परिचय","href":"/hi/x-api/usage/introduction"},{"openapi":"/hi/openapi.json GET /2/usage/tweets","title":"उपयोग की जानकारी प्राप्त करें","href":"/hi/x-api/usage/get-usage"}]},{"group":"स्ट्रीम कनेक्शन","pages":[{"openapi":"/hi/openapi.json DELETE /2/connections/all","title":"सभी कनेक्शन समाप्त करें","href":"/hi/x-api/connections/terminate-all-connections"}]},{"group":"अनुपालन","pages":[{"group":"बैच अनुपालन","pages":[{"title":"बैच अनुपालन","sidebarTitle":"परिचय","href":"/hi/x-api/compliance/batch-compliance/introduction"},{"group":"मार्गदर्शिकाएँ","pages":[{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/compliance/batch-compliance/quickstart"},{"title":"इंटीग्रेशन गाइड","sidebarTitle":"इंटीग्रेशन गाइड","href":"/hi/x-api/compliance/batch-compliance/integrate"}]},{"openapi":"/hi/openapi.json GET /2/compliance/jobs","title":"अनुपालन जॉब प्राप्त करें","href":"/hi/x-api/compliance/get-compliance-jobs"},{"openapi":"/hi/openapi.json POST /2/compliance/jobs","title":"अनुपालन जॉब बनाएँ","href":"/hi/x-api/compliance/create-compliance-job"},{"openapi":"/hi/openapi.json GET /2/compliance/jobs/{id}","title":"id द्वारा अनुपालन जॉब प्राप्त करें","href":"/hi/x-api/compliance/get-compliance-job-by-id"}]},{"group":"अनुपालन स्ट्रीम्स","pages":[{"title":"परिचय","sidebarTitle":"परिचय","href":"/hi/x-api/compliance/streams/introduction"},{"openapi":"/hi/openapi.json GET /2/likes/compliance/stream","title":"Likes अनुपालन डेटा स्ट्रीम करें","href":"/hi/x-api/stream/stream-likes-compliance-data"},{"openapi":"/hi/openapi.json GET /2/tweets/compliance/stream","title":"पोस्ट्स अनुपालन डेटा स्ट्रीम करें","href":"/hi/x-api/stream/stream-posts-compliance-data"},{"openapi":"/hi/openapi.json GET /2/users/compliance/stream","title":"उपयोगकर्ताओं का अनुपालन डेटा स्ट्रीम करें","href":"/hi/x-api/stream/stream-users-compliance-data"}]}]},{"group":"Enterprise v2","pages":[{"group":"एंगेजमेंट मेट्रिक्स","pages":[{"openapi":"/hi/openapi.json GET /2/tweets/analytics","title":"पोस्ट की विश्लेषिकी प्राप्त करें","href":"/hi/x-api/posts/get-post-analytics"},{"openapi":"/hi/openapi.json GET /2/media/analytics","title":"मीडिया एनालिटिक्स प्राप्त करें","href":"/hi/x-api/media/get-media-analytics"}]},{"group":"वेबहुक्स","pages":[{"title":"वेबहुक्स","sidebarTitle":"परिचय","href":"/hi/x-api/webhooks/introduction"},{"openapi":"/hi/openapi.json POST /2/webhooks","title":"webhook बनाएँ","href":"/hi/x-api/webhooks/create-webhook"},{"openapi":"/hi/openapi.json DELETE /2/webhooks/{webhook_id}","title":"webhook हटाएँ","href":"/hi/x-api/webhooks/delete-webhook"},{"openapi":"/hi/openapi.json GET /2/webhooks","title":"webhook प्राप्त करें","href":"/hi/x-api/webhooks/get-webhook"},{"openapi":"/hi/openapi.json PUT /2/webhooks/{webhook_id}","title":"webhook सत्यापित करें","href":"/hi/x-api/webhooks/validate-webhook"},{"openapi":"/hi/openapi.json POST /2/webhooks/replay","title":"webhook के लिए रीप्ले जॉब बनाएँ","href":"/hi/x-api/webhooks/create-replay-job-for-webhook"}]},{"group":"अकाउंट गतिविधि","pages":[{"title":"Account Activity API","sidebarTitle":"परिचय","href":"/hi/x-api/account-activity/introduction"},{"group":"माइग्रेशन गाइड","pages":[{"title":"v2 Account Activity API माइग्रेशन गाइड","href":"/hi/x-api/account-activity/migrate/overview"}]},{"openapi":"/hi/openapi.json GET /2/account_activity/webhooks/{webhook_id}/subscriptions/all","title":"सदस्यता मान्य करें","href":"/hi/x-api/account-activity/validate-subscription"},{"openapi":"/hi/openapi.json DELETE /2/account_activity/webhooks/{webhook_id}/subscriptions/{user_id}/all","title":"सदस्यता हटाएँ","href":"/hi/x-api/account-activity/delete-subscription"},{"openapi":"/hi/openapi.json GET /2/account_activity/subscriptions/count","title":"सदस्यताओं की संख्या प्राप्त करें","href":"/hi/x-api/account-activity/get-subscription-count"},{"openapi":"/hi/openapi.json GET /2/account_activity/webhooks/{webhook_id}/subscriptions/all/list","title":"सदस्यताएँ प्राप्त करें","href":"/hi/x-api/account-activity/get-subscriptions"},{"openapi":"/hi/openapi.json POST /2/account_activity/replay/webhooks/{webhook_id}/subscriptions/all","title":"रीप्ले जॉब बनाएँ","href":"/hi/x-api/account-activity/create-replay-job"},{"openapi":"/hi/openapi.json POST /2/account_activity/webhooks/{webhook_id}/subscriptions/all","title":"सदस्यता बनाएँ","href":"/hi/x-api/account-activity/create-subscription"}]},{"group":"फ़िल्टर्ड स्ट्रीम वेबहुक्स","pages":[{"title":"फ़िल्टर्ड स्ट्रीम वेबहुक्स API","sidebarTitle":"परिचय","href":"/hi/x-api/webhooks/stream/introduction"},{"title":"त्वरित शुरुआत","sidebarTitle":"त्वरित शुरुआत","href":"/hi/x-api/webhooks/stream/quickstart"},{"openapi":"/hi/openapi.json POST /2/tweets/search/webhooks/{webhook_id}","title":"स्ट्रीम लिंक बनाएँ","href":"/hi/x-api/webhooks/create-stream-link"},{"openapi":"/hi/openapi.json DELETE /2/tweets/search/webhooks/{webhook_id}","title":"स्ट्रीम लिंक हटाएँ","href":"/hi/x-api/webhooks/delete-stream-link"},{"openapi":"/hi/openapi.json GET /2/tweets/search/webhooks","title":"स्ट्रीम लिंक प्राप्त करें","href":"/hi/x-api/webhooks/get-stream-links"}]},{"group":"Powerstream","pages":[{"title":"परिचय","sidebarTitle":"परिचय","href":"/hi/x-api/powerstream/introduction"},{"title":"डिस्कनेक्शन को संभालना","sidebarTitle":"डिस्कनेक्शन को संभालना","href":"/hi/x-api/powerstream/handling-disconnections"},{"title":"रिकवरी और रिडंडेंसी","sidebarTitle":"रिकवरी और रिडंडेंसी","href":"/hi/x-api/powerstream/recovery-and-redundancy"}]},{"group":"वॉल्यूम स्ट्रीम्स","pages":[{"title":"परिचय","sidebarTitle":"परिचय","href":"/hi/x-api/posts/volume-streams/introduction"},{"openapi":"/hi/openapi.json GET /2/tweets/firehose/stream","title":"सभी पोस्ट्स स्ट्रीम करें","href":"/hi/x-api/stream/stream-all-posts"},{"openapi":"/hi/openapi.json GET /2/tweets/firehose/stream/lang/en","title":"अंग्रेज़ी पोस्ट्स स्ट्रीम करें","href":"/hi/x-api/stream/stream-english-posts"},{"openapi":"/hi/openapi.json GET /2/tweets/firehose/stream/lang/ja","title":"जापानी पोस्ट्स स्ट्रीम करें","href":"/hi/x-api/stream/stream-japanese-posts"},{"openapi":"/hi/openapi.json GET /2/tweets/firehose/stream/lang/ko","title":"कोरियाई पोस्ट्स स्ट्रीम करें","href":"/hi/x-api/stream/stream-korean-posts"},{"openapi":"/hi/openapi.json GET /2/tweets/firehose/stream/lang/pt","title":"पुर्तगाली पोस्ट्स स्ट्रीम करें","href":"/hi/x-api/stream/stream-portuguese-posts"},{"openapi":"/hi/openapi.json GET /2/tweets/sample/stream","title":"नमूना लिए गए पोस्ट्स स्ट्रीम करें","href":"/hi/x-api/stream/stream-sampled-posts"},{"openapi":"/hi/openapi.json GET /2/tweets/sample10/stream","title":"10% नमूना लिए गए पोस्ट्स स्ट्रीम करें","href":"/hi/x-api/stream/stream-10-sampled-posts"}]}]},{"group":"लाइक्स स्ट्रीम्स","pages":[{"openapi":"/hi/openapi.json GET /2/likes/firehose/stream","title":"सभी Likes स्ट्रीम करें","href":"/hi/x-api/stream/stream-all-likes"},{"openapi":"/hi/openapi.json GET /2/likes/sample10/stream","title":"सैंपल किए गए Likes स्ट्रीम करें","href":"/hi/x-api/stream/stream-sampled-likes"}]},{"group":"GNIP 2.0","pages":[{"group":"मूल बातें","pages":[{"title":"GNIP कंसोल","href":"/hi/x-api/enterprise-gnip-2.0/fundamentals/overview"},{"title":"डेटा डिक्शनरी: एंटरप्राइज़","sidebarTitle":"डेटा डिक्शनरी","href":"/hi/x-api/enterprise-gnip-2.0/fundamentals/data-dictionary"},{"title":"डेटा एनरिचमेंट: एंटरप्राइज़","href":"/hi/x-api/enterprise-gnip-2.0/fundamentals/data-enrichments"},{"title":"नियम और फ़िल्टरिंग: एंटरप्राइज़","href":"/hi/x-api/enterprise-gnip-2.0/fundamentals/rules-filtering"},{"title":"रेट लिमिट्स: एंटरप्राइज़","href":"/hi/x-api/enterprise-gnip-2.0/fundamentals/rate-limits"},{"title":"Tweet संपादित करें","href":"/hi/x-api/enterprise-gnip-2.0/fundamentals/edit-tweets"}]},{"title":"एंटरप्राइज़","href":"/hi/x-api/enterprise-gnip-2.0/enterprise-gnip"},{"title":"Powertrack api","href":"/hi/x-api/enterprise-gnip-2.0/powertrack-api"},{"title":"Decahose API","href":"/hi/x-api/enterprise-gnip-2.0/fundamentals/decahose-api"},{"title":"अकाउंट एक्टिविटी API: Enterprise","href":"/hi/x-api/enterprise-gnip-2.0/fundamentals/account-activity"},{"title":"सर्च API: एंटरप्राइज़","sidebarTitle":"सर्च API","href":"/hi/x-api/enterprise-gnip-2.0/fundamentals/search-api"},{"title":"Engagement API","href":"/hi/x-api/enterprise-gnip-2.0/fundamentals/engagement-api"},{"title":"Compliance Firehose API","href":"/hi/x-api/enterprise-gnip-2.0/fundamentals/firehouse"},{"title":"Usage API","sidebarTitle":"Usage API","href":"/hi/x-api/enterprise-gnip-2.0/fundamentals/usage"}]}]},{"tab":"X Ads API","pages":[{"title":"X Ads API","href":"/hi/x-ads-api/introduction"}]},{"tab":"XDKs","pages":[{"title":"XDKs","href":"/hi/xdks/overview"}]},{"tab":"ट्यूटोरियल","pages":[{"title":"ट्यूटोरियल","href":"/hi/tutorials/explore-a-users-posts"}]},{"tab":"उपयोग परिदृश्य","pages":[{"title":"उपयोग परिदृश्य","href":"/hi/use-cases/build-for-business"}]},{"tab":"सफलता की कहानियाँ","pages":[{"title":"सफलता की कहानियाँ","href":"/hi/success-stories"}]},{"tab":"स्थिति","pages":[{"title":"स्थिति","href":"/hi/status"}]},{"tab":"चेंजलॉग","pages":[{"title":"चेंजलॉग","href":"/hi/changelog"}]},{"tab":"Python SDK","hidden":true,"pages":[{"title":"Python SDK","href":"/hi/xdks/python/overview"}]},{"tab":"TypeScript SDK","hidden":true,"pages":[{"title":"TypeScript SDK","href":"/hi/xdks/typescript/overview"}]}],"global":{"anchors":[{"anchor":"डेवलपर कंसोल","icon":"circle-play","href":"https://developer.x.com/en/portal/petition/essential/basic-info"},{"anchor":"फ़ोरम","icon":"messages","href":"https://devcommunity.x.com"},{"anchor":"GitHub","icon":"github","href":"https://github.com/xdevplatform"}]}},{"language":"ja","pages":[{"title":"ja","href":"/ja/x-api/posts/manage-tweets/quickstart"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/x-api/posts/manage-tweets/quickstart"}]}]},"basePath":"","title":"त्वरित शुरुआत - X","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}