अपने स्वयं के X (Twitter) API credentials को Ayrshare के साथ जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका
31 मार्च, 2026 को, X ने बदल दिया कि तृतीय-पक्ष प्लेटफ़ॉर्म अपने API तक कैसे पहुँचते हैं। परिणामस्वरूप, Ayrshare के माध्यम से X पर पोस्ट करने वाले प्रत्येक Ayrshare account को अपना स्वयं का X Developer App पंजीकृत करना होगा और हर अनुरोध पर अपनी API Key और API Secret का उपयोग करना होगा।यह X द्वारा अनिवार्य एक प्लेटफ़ॉर्म-व्यापी परिवर्तन है जो सभी तृतीय-पक्ष उपकरणों को प्रभावित करता है।
BYO keys प्रति प्लेटफ़ॉर्म एक बार सेट की जाती हैं (account-wide), प्रति ग्राहक या sub-profile नहीं। आप अपने स्वयं के X account के तहत एक X Developer App बनाते हैं, और वही API Key + API Secret X के लिए account-wide लागू होते हैं — वे आपके Ayrshare account के तहत X को लिंक करने वाले हर sub-profile / end-user के लिए उपयोग किए जाते हैं। यदि आपके पास सैकड़ों sub-profiles वाला Business या Enterprise plan है, तो आपको इस setup को प्रत्येक के लिए दोहराने की आवश्यकता नहीं है। आप इसे X प्लेटफ़ॉर्म के लिए एक बार सेट करते हैं, फिर हर अनुरोध पर वही दो headers पास करते हैं।
हमने setup प्रक्रिया को यथासंभव सरल बनाने के लिए streamlined किया है, और इसे पूरा करने में 10 मिनट से भी कम समय लगना चाहिए। नीचे हमारी चरण-दर-चरण मार्गदर्शिका का पालन करें, और यदि आपको रास्ते में कोई मदद चाहिए, तो हमारी टीम सहायता के लिए यहाँ है।
Developer onboarding पूरा करें और Developer Agreement और नीतियों को स्वीकार करें।
3
Console तक पहुँचें
अब आप X Developer Console में हैं।
चरण 2: एक App बनाएँ
आप प्रति Ayrshare account केवल एक X Developer App बनाते हैं। वही app और उसकी API Key + API Secret बाद में आपके Ayrshare account के तहत लिंक किए गए हर sub-profile / end-user के लिए पुन: उपयोग की जाती हैं। आप प्रति ग्राहक एक नया app नहीं बनाते।
1
Apps पर navigate करें
Developer Console में, Apps पर navigate करें।
2
App बनाएँ
App dashboard में, Create App पर क्लिक करें (विवरण के लिए X’s App setup docs देखें)। एक app नाम दर्ज करें (सामान्यतः आपका ब्रांड नाम)। जब उपयोगकर्ता अपने X account को कनेक्ट करते हैं तो यह नाम OAuth authorization स्क्रीन में दिखाई देगा।
3
Environment चुनें
Dropdown में Production environment चुनें।
Pay-per-use package का उपयोग करें। आपकी app Pay-per-use package के Production environment में होनी चाहिए, Standalone में नहीं। नहीं तो आपका X account लिंक करना 403 “Client Forbidden” error (client-not-enrolled) के साथ विफल होगा।
4
प्रारंभिक credentials popup बंद करें
X कई credentials generate करेगा। इन credentials को अनदेखा करें और इस विंडो को बंद करें।
चरण 3: App अनुमतियाँ कॉन्फ़िगर करें
1
अपनी app settings खोलें
“Apps” के अंतर्गत, नए app को खोजें (यदि यह प्रकट नहीं होता है तो पेज refresh करें), फिर इसके विवरण देखने के लिए उस पर क्लिक करें।User authentication settings के अंतर्गत, Set up पर क्लिक करें।
2
App अनुमतियाँ सेट करें
App permissions के अंतर्गत, Read and write and Direct message चुनें। यह पोस्टिंग और DMs सहित पूर्ण सुविधा समर्थन के लिए आवश्यक है।
3
App प्रकार सेट करें
Type of App के अंतर्गत, Web App, Automated App or Bot चुनें। यह Ayrshare जैसे server-side integrations के लिए सही विकल्प है।
4
Callback और website URLs सेट करें
App info के अंतर्गत:
Callback URL: निम्नलिखित दोनों callback URLs जोड़ें:
https://profile.ayrshare.com/social-accounts
https://app.ayrshare.com/social-accounts
Website URL:https://app.ayrshare.com
इस चरण को न छोड़ें। ये callback URLs OAuth linking flow के लिए आवश्यक हैं। जब आपके end-users X कनेक्शन को अधिकृत करते हैं, तो X उन्हें linking प्रक्रिया पूरी करने के लिए इनमें से किसी एक URL पर redirect करता है। यदि ये गायब हैं, तो OAuth flow 403 Callback URL not approved error के साथ विफल होगा।
5
अपनी settings save करें
Save पर क्लिक करें। आप OAuth 2.0 popup को अनदेखा कर सकते हैं, क्योंकि आप केवल OAuth 1.0 keys (API Key और API Secret) में से 2 का उपयोग करेंगे।
महत्वपूर्ण: लिंक करने से पहले अनुमतियाँ सेट करें। आप यहाँ जो अनुमतियाँ चुनते हैं, वे यह निर्धारित करती हैं कि आपका app क्या कर सकता है। यदि आप OAuth के माध्यम से अपने X account को लिंक करने के बाद अनुमतियाँ बदलते हैं, तो आपको फिर से लिंक करना होगा ताकि नया Access Token अद्यतन अनुमतियों को inherit कर सके।
कृपया सुनिश्चित करें कि आप इन 2 keys को store करते हैं:
API Key (aka Consumer Key, X app पहचानकर्ता)
API Secret (aka Consumer Secret)
आपको मैन्युअल रूप से Access Tokens generate करने की आवश्यकता नहीं है। Ayrshare स्वचालित रूप से इसे संभालता है जब आप OAuth के माध्यम से अपने X account को लिंक करते हैं।
चरण 4: X API Credits खरीदें
X अब credit-आधारित API billing का उपयोग करता है, जिसे developer console के माध्यम से खरीदा जाता है।
1
Billing पर navigate करें
Developer Console में, बाएँ sidebar में Billing → Credits पर क्लिक करें।
2
Credits खरीदें
Credits खरीदें (न्यूनतम $5 है, जो सैकड़ों API calls के लिए पर्याप्त है)। प्रत्येक API call एक पैसे का एक अंश है, इसलिए अधिकांश उपयोगकर्ताओं के लिए लागत न्यूनतम होनी चाहिए।
3
Auto-recharge सक्षम करें
सेवा में व्यवधानों से बचने के लिए आप auto-recharge सक्षम कर सकते हैं, और अपने billing cycle में आप जितनी अधिकतम राशि खर्च कर सकते हैं उसे सेट करके अपने spend cap को प्रबंधित कर सकते हैं।
Credits के बिना आपकी API calls विफल हो जाएँगी। X का API pay-per-use है। यदि आपका credit balance शून्य है, तो हर API अनुरोध “Your enrolled account does not have any credits to fulfill this request.” संदेश के साथ 402 CreditsDepleted error लौटाएगा। इसमें posting, tweets पढ़ना, और user lookups शामिल हैं। अपने integration का परीक्षण करने से पहले credits लोड करें। X के pricing के पूर्ण अद्यतन के लिए X API Pricing कैसे काम करता है देखें।
चरण 5: अपने Ayrshare API Calls अद्यतन करें
चरण 3 में, आपने इन 2 items को अपने स्वयं के env, config, या secrets manager में सुरक्षित रूप से save किया:
API Key (aka Consumer Key, X app पहचानकर्ता)
API Secret (aka Consumer Secret)
अब, अपने Ayrshare API calls के headers में अपने X credentials जोड़ें।
आपकी कुंजियाँ निजी रहती हैं। इन हेडर में आप जो API Key और API Secret भेजते हैं, वे केवल उसी अनुरोध के लिए इस्तेमाल होते हैं और Ayrshare उन्हें संग्रहित नहीं करता। लिंकिंग URL बनाना इसका एकमात्र अपवाद है, जिसे नीचे सुरक्षा अनुभाग में समझाया गया है।
Header संदर्भ
Header
मान
X-Twitter-OAuth1-Api-Key
API Key (Consumer Key)
X-Twitter-OAuth1-Api-Secret
API Key Secret (Consumer Secret)
यह कैसे बताएँ कि आपकी अनुमतियाँ गलत हैं:
यदि आपकी app permissions गलत तरीके से कॉन्फ़िगर की गई हैं, तो आपका API अनुरोध निम्नलिखित संदेश के साथ 403 Forbidden error लौटा सकता है: “Your client app is not configured with the appropriate OAuth1 app permissions.”
यदि आप यह error देखते हैं, तो X Developer Console में अपनी app permissions को Read and write and Direct message पर अद्यतन करें, फिर OAuth के माध्यम से अपने X account को फिर से लिंक करें ताकि नया Access Token अद्यतन अनुमतियों को inherit कर सके।
Code उदाहरण
curl -X POST https://api.ayrshare.com/api/post \ -H "Authorization: Bearer YOUR_AYRSHARE_API_KEY" \ -H "X-Twitter-OAuth1-Api-Key: your_api_key" \ -H "X-Twitter-OAuth1-Api-Secret: your_api_secret" \ -H "Content-Type: application/json" \ -d '{"post": "Hello from my own X App!", "platforms": ["twitter"]}'
const response = await fetch("https://api.ayrshare.com/api/post", { method: "POST", headers: { "Authorization": "Bearer YOUR_AYRSHARE_API_KEY", "Content-Type": "application/json", "X-Twitter-OAuth1-Api-Key": process.env.X_API_KEY, "X-Twitter-OAuth1-Api-Secret": process.env.X_API_SECRET, }, body: JSON.stringify({ post: "Hello from my own X App!", platforms: ["twitter"], }),});
import osimport requestsheaders = { "Authorization": "Bearer YOUR_AYRSHARE_API_KEY", "Content-Type": "application/json", "X-Twitter-OAuth1-Api-Key": os.environ["X_API_KEY"], "X-Twitter-OAuth1-Api-Secret": os.environ["X_API_SECRET"],}response = requests.post( "https://api.ayrshare.com/api/post", headers=headers, json={"post": "Hello from my own X App!", "platforms": ["twitter"]},)
आपके मौजूदा automations और workflows तब तक काम करते रहेंगे जब तक आप X को target करने वाले हर अनुरोध में अपनी API Key और API Secret headers शामिल करते हैं।
मौजूदा Profiles को Migrate करना (Business और Enterprise)
यदि आपके पास sub-profiles हैं जो पहले से ही Ayrshare के माध्यम से X से लिंक हैं, तो उन profiles को BYO keys पर switch करने के बाद अपने X accounts को फिर से लिंक करना होगा। ऐसा इसलिए है क्योंकि मौजूदा access tokens Ayrshare के X app के तहत जारी किए गए थे और आपकी consumer keys के साथ उपयोग नहीं किए जा सकते (OAuth 1.0a signatures उस app से bound हैं जिसने token जारी किया था)।
1
अपनी keys को generateJWT में शामिल करें
अपने generateJWT कॉल के body में twitterApiKey और twitterApiSecret जोड़ें। ये एन्क्रिप्ट करके लिंकिंग सेशन के साथ संग्रहित किए जाते हैं और आपके अंतिम उपयोगकर्ताओं को दिखाई नहीं देते।
लिंकिंग URL बनाना ही एकमात्र जगह है जहाँ आपकी consumer keys body में जाती हैं: यह अनुरोध, या POST /profiles/link-sessions। बाकी हर X अनुरोध ऊपर बताए गए हेडर इस्तेमाल करता है।
2
उपयोगकर्ताओं को X फिर से लिंक करने के लिए कहें
Keys को शामिल करते हुए JWT generate करने के बाद, आपके उपयोगकर्ताओं को profile linking पेज के माध्यम से अपने X account को reconnect करना होगा। OAuth consent screen अब Ayrshare के बजाय आपका app नाम दिखाएगी।इसे streamline करने के लिए, आप कर सकते हैं:
Unlink API के माध्यम से accounts को programmatically अनलिंक करें, फिर उपयोगकर्ताओं से फिर से authorize करने के लिए कहें
Fresh login को force करने के लिए generateJWT में logout parameter का उपयोग करें
Migration flow के दौरान linking पेज पर केवल X दिखाने के लिए allowedSocial का उपयोग करें
3
सभी API calls पर headers भेजते रहें
फिर से लिंक करने के बाद, हर API call (posting, analytics, comments, आदि) पर X-Twitter-OAuth1-Api-Key और X-Twitter-OAuth1-Api-Secret headers शामिल करना जारी रखें।
एक बार जब कोई profile आपके X app के तहत फिर से लिंक हो जाता है, तो उस profile के लिए सभी बाद के पोस्ट आपकी credentials का उपयोग करेंगे। आप अपने X Developer Console में Usage पेज देखकर इसे सत्यापित कर सकते हैं।
अपने Setup को सत्यापित करें
यह पुष्टि करने के लिए कि सब कुछ काम कर रहा है, अपने नए headers के साथ Ayrshare API के माध्यम से एक परीक्षण call करें। /analytics/social endpoint एक अच्छा lightweight परीक्षण है, क्योंकि यह कोई पोस्ट नहीं बनाएगा।
X API Pricing कैसे काम करता है
पहले, Ayrshare आपकी ओर से X के API उपयोग की लागत को कवर करता था। X के वर्तमान मॉडल के तहत, प्रत्येक Ayrshare ग्राहक अपना स्वयं का X Developer account रखता है और अपने application द्वारा किए गए API अनुरोधों के लिए सीधे X को भुगतान करता है। (प्रति Ayrshare account एक X Developer account, प्रति end-user नहीं। आपके सभी sub-profiles एक ही X Developer account और credit balance साझा करते हैं।)X का pricing मॉडल pay-per-use है: आप X Developer Console में credits खरीदते हैं, और API अनुरोध किए जाने पर वे deduct हो जाते हैं। कोई अनुबंध या subscriptions की आवश्यकता नहीं है।सामान्य operations सस्ते हैं। उदाहरण के लिए:
Operation
अनुमानित लागत
एक पोस्ट बनाना (केवल text)
~$0.01 प्रति पोस्ट
Media के साथ एक पोस्ट बनाना
~$0.02 प्रति पोस्ट (media अपलोड और post creation अलग अनुरोध हैं)
एक पोस्ट पढ़ना
~$0.005 प्रति read
User lookup
~$0.01 प्रति lookup
एक DM भेजना
~$0.01 प्रति संदेश
DM events पढ़ना
~$0.01 प्रति event
User interactions (follow, like, आदि)
~$0.015 प्रति अनुरोध
संदर्भ के लिए, यदि आप प्रति माह लगभग 100 बार पोस्ट कर रहे हैं, तो आपकी direct X लागत लगभग $1 होगी, और media वाले पोस्ट प्रति माह लगभग $2 होंगे।
X की pay-per-use pricing वर्तमान में एक pilot चरण में है। दरें परिवर्तन के अधीन हैं, और अतिरिक्त लागतें पेश की जा सकती हैं। सबसे वर्तमान pricing के लिए हमेशा Developer Console की जाँच करें। X’s pricing information breakdown देखें।
हम जानते हैं कि यह एक ऐसी लागत पेश करता है जो पहले मौजूद नहीं थी, और हम इसके बारे में पारदर्शी होना चाहते हैं। साथ ही, यह मॉडल कई लाभों को भी unlock करता है जो पिछले shared-key setup के तहत संभव नहीं थे।
अपनी स्वयं की X API Key का उपयोग करने के लाभ
अपनी स्वयं की X API credentials का उपयोग करना पिछले shared-key मॉडल की तुलना में अधिक नियंत्रण और विश्वसनीयता प्रदान करता है। इसमें शामिल हैं:
Branded OAuth अनुभव: X पहुँच को अधिकृत करते समय उपयोगकर्ता आपका app नाम और branding देखते हैं।
समर्पित rate limits: आपका API उपयोग आपके स्वयं के X Developer account सीमाओं द्वारा governed है, अन्य Ayrshare उपयोगकर्ताओं से अलग। आप X Developer Console में अपने उपयोग की निगरानी कर सकते हैं और X API rate limits documentation की समीक्षा कर सकते हैं।
क्रेडेंशियल पर नियंत्रण: आपकी API Key और Secret आपके ही X Developer अकाउंट में रहती हैं। अनुरोध हेडर में भेजी गई कुंजियाँ Ayrshare संग्रहित नहीं करता। लिंकिंग URL बनाना इसका एकमात्र अपवाद है, जिसे नीचे सुरक्षा अनुभाग में समझाया गया है।
Portability: चूँकि उपयोगकर्ता आपके X App के साथ authenticate करते हैं, इसलिए आपका integration पूरी तरह से आपके नियंत्रण में रहता है।
Usage दृश्यता: आपका X Developer dashboard API अनुरोध, rate limits, और credit उपयोग दिखाता है।
X इस मॉडल की आवश्यकता वाला पहला प्लेटफ़ॉर्म है, लेकिन अधिक प्लेटफ़ॉर्म “अपनी स्वयं की API key लाओ” की ओर बढ़ रहे हैं। हम इस क्षमता का विस्तार पूरे Ayrshare में कर रहे हैं, इसलिए developers के पास सभी सोशल प्लेटफ़ॉर्म पर समान नियंत्रण और स्वतंत्रता होगी।
सुरक्षा
अनुरोध हेडर में आप जो API Key और API Secret भेजते हैं, वे केवल उसी अनुरोध के लिए इस्तेमाल होते हैं और Ayrshare उन्हें संग्रहित नहीं करता।
लिंकिंग URL बनाना अपवाद है। जब आप twitterApiKey और twitterApiSecret को POST /profiles/generateJWT या POST /profiles/link-sessions को भेजते हैं, तो यह जोड़ी एन्क्रिप्ट करके उस लिंकिंग सेशन के साथ संग्रहित की जाती है, क्योंकि थोड़ी देर बाद जब आपका उपयोगकर्ता X को अनुमति देता है तब लिंकिंग पेज को इसकी ज़रूरत होती है। यह तब हटा दी जाती है जब आप लिंक रद्द करते हैं, या जब कोई समाप्त हो चुका लिंक अगली बार खोला या जाँचा जाता है, और किसी भी स्थिति में 30 दिनों के भीतर सेशन रिकॉर्ड के साथ मिटा दी जाती है।
क्या मुझे हर customer / sub-profile के लिए इसे सेट करना होगा?
नहीं। आप अपने स्वयं के X account के तहत एक X Developer App सेट करते हैं, और वही API Key + API Secret आपके Ayrshare account के तहत लिंक किए गए हर sub-profile / end-user के लिए पुन: उपयोग की जाती हैं।
आप X Developer App एक बार बनाते हैं।
आप हर Ayrshare API call पर वही दो headers (X-Twitter-OAuth1-Api-Key और X-Twitter-OAuth1-Api-Secret) पास करते हैं, चाहे call किस sub-profile के लिए हो।
आपके end-users अभी भी प्रत्येक अपने स्वयं के X account को authorize करने के लिए OAuth linking flow के माध्यम से जाते हैं, लेकिन उन्हें अपने स्वयं के X Developer App या API keys की आवश्यकता नहीं है। वे आपके app के माध्यम से कनेक्ट होते हैं।
सभी sub-profiles एक ही X Developer account, समान rate limits, और समान credit balance साझा करते हैं।
एकमात्र समय जब आप keys को प्रति-profile handle करते हैं, वह migration के दौरान generateJWT body में होता है, जो अभी भी आपकी वही दो keys हैं, बस linking पेज पर वितरित की जाती हैं ताकि end-users आपके app के तहत फिर से authorize कर सकें।
क्या X API key की आवश्यकता अभी सक्रिय है?
हाँ। 31 मार्च, 2026 से, Ayrshare के माध्यम से सभी X operations के लिए आपकी स्वयं की X API credentials आवश्यक हैं। यदि आपने अभी तक अपना X Developer account सेट नहीं किया है, तो ऊपर दिए गए चरणों का पालन करें।
यदि मैं Ayrshare में अपनी X API key नहीं जोड़ता हूँ तो क्या होगा?
Ayrshare के माध्यम से X पर पोस्ट करने के लिए आपकी स्वयं की X API credentials आवश्यक हैं। वैध BYO credentials के बिना अनुरोध अस्वीकार कर दिए जाते हैं। अन्य प्लेटफ़ॉर्म्स (Instagram, LinkedIn, Facebook, TikTok, आदि) पर पोस्ट करना अप्रभावित है।
X API की लागत कितनी है?
X प्रति API call शुल्क लेता है। एक पोस्ट बनाने की लागत लगभग $0.01 है, और एक पोस्ट पढ़ने की लागत लगभग $0.005 है। उदाहरण के लिए, प्रति माह 100 पोस्ट प्रकाशित करने की लागत लगभग $1 होगी। पूर्ण विवरण के लिए X’s pricing page देखें।
क्या यह मेरे Ayrshare subscription मूल्य को बदलता है?
नहीं। आपका Ayrshare subscription मूल्य वही रहता है। एकमात्र अतिरिक्त लागत X API उपयोग शुल्क है जो X द्वारा आपके developer account के माध्यम से सीधे बिल किया जाता है।
क्या Ayrshare मेरी X API credentials को store करता है?
सामान्य API अनुरोधों के लिए नहीं: हेडर में आप जो API Key और API Secret भेजते हैं, वे केवल उसी अनुरोध के लिए इस्तेमाल होते हैं और संग्रहित नहीं किए जाते। लिंकिंग URL बनाना अपवाद है, क्योंकि जब आपका उपयोगकर्ता X को अनुमति देता है तब लिंकिंग पेज को इस जोड़ी की ज़रूरत होती है। वहाँ यह एन्क्रिप्ट करके लिंकिंग सेशन के साथ संग्रहित की जाती है, और फिर तब हटा दी जाती है जब आप लिंक रद्द करते हैं, जब कोई समाप्त हो चुका लिंक अगली बार खोला या जाँचा जाता है, या 30 दिनों के भीतर सेशन रिकॉर्ड के साथ। ऊपर सुरक्षा अनुभाग देखें, और सामान्य प्रथाओं के लिए X की प्रमाणीकरण सुरक्षा गाइड देखें।
मेरे पास पहले से ही एक X Developer account है। क्या मैं अपनी मौजूदा key का उपयोग कर सकता हूँ?
हाँ। आप अपने मौजूदा X App का उपयोग कर सकते हैं जब तक कि इसमें “Read and write” अनुमतियाँ सक्षम हों (और यदि आप DM सुविधाओं का उपयोग करते हैं तो Direct Messages)।आपको X Developer Console के Keys and tokens अनुभाग से अपनी API Key (Consumer Key) और API Secret (Consumer Secret) की आवश्यकता होगी। OAuth के माध्यम से अपने X account को लिंक करें, फिर अपने Ayrshare API अनुरोधों में इन 2 headers को शामिल करें।यदि आपने प्रारंभिक setup के बाद से अपनी app permissions बदली हैं, तो अपने X account को फिर से लिंक करें ताकि Access Token अद्यतन अनुमतियों को inherit कर सके।
X Developer Portal कई credentials दिखाता है। मुझे वास्तव में किनकी आवश्यकता है?
आपको अपनी API Key (Consumer Key) और API Secret (Consumer Secret) की आवश्यकता है। ऊपर header reference table देखें कि प्रत्येक Ayrshare header से किस पर mapping है। आप Client ID, Client Secret, Bearer Token, Access Token, और Access Token Secret को अनदेखा कर सकते हैं।
'API Key' और 'Client ID' के बीच क्या अंतर है?
वे विभिन्न authentication methods के लिए पूरी तरह से अलग credentials हैं:
API Key (जिसे “Consumer Key” भी कहा जाता है) OAuth 1.0a के लिए है। API Key (Consumer Key) + API Secret वही है जिसका Ayrshare उपयोग करता है। यह सभी X सुविधाओं के साथ काम करता है, tokens कभी expire नहीं होते, और कोई refresh logic आवश्यक नहीं है।
Client ID OAuth 2.0 के लिए है। आपको Ayrshare के लिए इसकी आवश्यकता नहीं है। OAuth 2.0 tokens थोड़े समय बाद expire हो जाते हैं और refresh token प्रबंधन की आवश्यकता होती है।
Ayrshare के लिए, आपको केवल अपनी API Key और API Secret की आवश्यकता है। आप Client ID, Client Secret, और Bearer Token को अनदेखा कर सकते हैं।
OAuth 1.0a क्यों और OAuth 2.0 क्यों नहीं?
OAuth 2.0 access tokens हर 2 घंटे में expire होते हैं और X के refresh tokens single-use होते हैं (प्रत्येक refresh पुराने token को अमान्य कर देता है)। यह stateless BYO मॉडल का समर्थन करना असंभव बनाता है, विशेष रूप से scheduled posts के लिए। OAuth 1.0a tokens कभी expire नहीं होते, सभी X सुविधाओं के साथ काम करते हैं, और शून्य token प्रबंधन की आवश्यकता होती है।
क्या मेरे मौजूदा उपयोगकर्ताओं को अपने X accounts को फिर से लिंक करने की आवश्यकता है?
हाँ। यदि आपके उपयोगकर्ताओं ने BYO keys सेट करने से पहले Ayrshare के माध्यम से X को लिंक किया था, तो उन्हें फिर से कनेक्ट करना होगा। मौजूदा access tokens Ayrshare के X app के तहत जारी किए गए थे और आपकी consumer keys के साथ काम नहीं करेंगे। चरण-दर-चरण प्रक्रिया के लिए ऊपर मौजूदा Profiles को Migrate करना देखें।
क्या यह परिवर्तन Instagram, LinkedIn, या अन्य प्लेटफ़ॉर्म्स पर पोस्ट करने को प्रभावित करता है?
नहीं। यह परिवर्तन केवल X पर पोस्ट करने को प्रभावित करता है। Ayrshare में अन्य सभी प्लेटफ़ॉर्म integrations हमेशा की तरह काम करना जारी रखते हैं।
X पर RSS/Feed auto-posting के बारे में क्या?
X पर RSS auto-posting अब समर्थित नहीं है। RSS feeds स्वचालित रूप से एक schedule पर चलते हैं, लेकिन bring-your-own API key मॉडल को प्रत्येक API अनुरोध के साथ credentials प्रदान करने की आवश्यकता होती है। इसके कारण, RSS feeds पोस्ट भेजे जाने पर authenticate नहीं कर सकते।यदि आपने पहले X पर पोस्ट करने के लिए RSS का उपयोग किया है, तो हम scheduled posts या आपकी credentials शामिल करने वाले direct API calls पर switch करने की अनुशंसा करते हैं। अन्य सभी प्लेटफ़ॉर्म्स पर RSS auto-posting अपरिवर्तित है।
मुझे 402 "CreditsDepleted" error क्यों मिल रहा है?
इसका मतलब है कि आपके X Developer account में कोई API credits उपलब्ध नहीं हैं। console.x.com → Billing → Credits पर जाएँ और credits खरीदें। यहाँ तक कि $5 भी सैकड़ों API calls के लिए पर्याप्त हैं। एक बार credits लोड होने के बाद, अपना अनुरोध पुन: प्रयास करें।
आपके Access Token में सही अनुमतियाँ नहीं हैं। यह आमतौर पर दो चीजों में से एक का मतलब है:
आपकी app permissions “Read” पर सेट हैं “Read and write” नहीं। Developer Console में अपने app की Settings पर जाएँ और इसे Read and write and Direct message में बदलें।
आपने अपने X account को लिंक करने के बाद अनुमतियाँ बदल दीं। Access Tokens उन अनुमतियों को रखते हैं जिनके साथ वे बनाए गए थे। OAuth के माध्यम से अपने X account को फिर से लिंक करें ताकि नया token अद्यतन अनुमतियों को inherit कर सके।
यदि मुझे इसे सेट करने में मदद चाहिए तो क्या?
हमारी support टीम मदद करने में खुश है। यदि सेटअप के दौरान आपके पास कोई प्रश्न है या समस्याओं का सामना करते हैं, तो कृपया support@ayrshare.com के माध्यम से संपर्क करें, और हम आपको प्रक्रिया के माध्यम से चलेंगे।
Troubleshooting
मुझे गायब headers के बारे में 400 error मिल रहा है
सुनिश्चित करें कि आप दोनों आवश्यक headers भेज रहे हैं:
X-Twitter-OAuth1-Api-Key
X-Twitter-OAuth1-Api-Secret
यदि आप pair-mismatch error देखते हैं (जैसे, “You provided Api-Key but not Api-Secret”), तो इसका मतलब है कि दोनों में से एक गायब है। दोनों हमेशा आवश्यक हैं।Error संदेश आपको बताएगा कि कौन सा विशिष्ट header गायब है।
मुझे 403 error मिल रहा है: "Callback URL not approved"
यदि आप अपने X account को लिंक करने का प्रयास करते समय यह error देखते हैं, तो सुनिश्चित करें कि आपने अपनी X Developer App settings (Authentication settings > Callback URI / Redirect URL के तहत) में आवश्यक callback URLs जोड़े हैं:
आपके X Developer account में कोई API credits लोड नहीं हैं। console.x.com → Billing → Credits पर जाएँ और credits खरीदें। यहाँ तक कि $5 भी सैकड़ों API calls के लिए पर्याप्त हैं।
मुझे 403 error मिल रहा है: "oauth1 app permissions"
आपके Access Token में सही अनुमतियाँ नहीं हैं। इसका आमतौर पर मतलब है:
आपकी app permissions “Read” पर सेट हैं “Read and write” नहीं। Developer Console में अपने app की Settings पर जाएँ और इसे Read and write and Direct message में बदलें।
आपने अपने X account को लिंक करने के बाद अनुमतियाँ बदल दीं। Access Tokens उन अनुमतियों को रखते हैं जिनके साथ वे बनाए गए थे। OAuth के माध्यम से अपने X account को फिर से लिंक करें ताकि नया token अद्यतन अनुमतियों को inherit कर सके।
मुझे 403 error मिल रहा है: "Client Forbidden" (client-not-enrolled)
आपकी X app X API v2 के लिए enrolled नहीं है। यह तब होता है जब app Standalone package में होती है।X Developer Console में, app को Standalone से Pay-per-use package (Production environment) में ले जाएँ, फिर अपना X account दोबारा लिंक करें। ऊपर चरण 2: एक App बनाएँ देखें।
सहायता चाहिए?
यदि आपके पास अपनी X API key सेट करते समय कोई प्रश्न हैं या समस्याओं का सामना करते हैं, तो हमारी engineering टीम मदद करने में खुश है। आप किसी भी समय support@ayrshare.com पर हमसे संपर्क कर सकते हैं।
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ayrshare Docs","colors":{"primary":"#2266C2","light":"#4985D8","dark":"#1A4E9A"},"logo":{"light":"https://mintcdn.com/ayrshare-docs/7bWzjvNjeuvs-M3N/images/logos/ayrshare-docs-logo-light.svg?fit=max\u0026auto=format\u0026n=7bWzjvNjeuvs-M3N\u0026q=85\u0026s=8d23367f493d06599eecbbfa2b6325cf","dark":"https://mintcdn.com/ayrshare-docs/7bWzjvNjeuvs-M3N/images/logos/ayrshare-docs-logo-dark.svg?fit=max\u0026auto=format\u0026n=7bWzjvNjeuvs-M3N\u0026q=85\u0026s=77590acef2781d2fec9a1b14b6e09b73","href":"https://www.ayrshare.com/docs"},"favicon":"https://mintcdn.com/ayrshare-docs/dKBti0xVDJrOZ19f/images/logos/icon-docs.png?fit=max\u0026auto=format\u0026n=dKBti0xVDJrOZ19f\u0026q=85\u0026s=9704762afaad78a9cfdd90a20cb1d253","api":{"playground":{"display":"simple"},"examples":{"languages":["bash","javascript","python","php","go","java"]},"mdx":{"auth":{"method":"bearer"},"server":"https://api.ayrshare.com/api"}},"appearance":{"default":"dark"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://www.ayrshare.com/blog","label":"Blog"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.ayrshare.com"}},"footer":{"socials":{"github":"https://github.com/ayrshare","x":"https://x.com/ayrshare","bluesky":"https://bsky.app/profile/ayrshare.com","facebook":"https://www.facebook.com/Ayrshare","linkedin":"https://www.linkedin.com/company/ayrshare","youtube":"https://www.youtube.com/@ayrshare"}},"seo":{"indexing":"navigable"},"styling":{"codeblocks":"system","latex":true},"integrations":{"gtm":{"tagId":"GTM-P23WG8W"},"plausible":{"domain":"docs.ayrshare.com"}},"contextual":{"options":["copy","chatgpt","claude","perplexity","cursor","vscode"],"display":"header"},"navigation":{"languages":[{"language":"en","href":"introduction"},{"language":"es","href":"es/introduction"},{"language":"cn","hidden":true,"href":"cn/introduction"},{"language":"zh","hidden":true,"href":"zh/introduction"},{"language":"pt-BR","href":"pt-BR/introduction"},{"language":"fr","href":"fr/introduction"},{"language":"de","href":"de/introduction"},{"language":"vi","href":"vi/introduction"},{"language":"ja","href":"ja/introduction"},{"language":"uk","href":"uk/introduction"},{"language":"hi","href":"hi/introduction"},{"language":"ar","href":"ar/introduction"},{"language":"zh-Hans","href":"zh-Hans/introduction"},{"language":"zh-Hant","href":"zh-Hant/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ayrshare-docs","hasAudioNarration":false,"actualSubdomain":"ayrshare-docs","customDomains":["www.ayrshare.com"],"gitSource":{"type":"github","owner":"ayrshare","repo":"ayrshare_3","deployBranch":"docs-prod","contentDirectory":"apps/mintlify","isPrivate":true,"mountPath":"","label":"","_id":"6aec8a4b6de9d64b11a45855"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b10137244011f3d6e1be00b","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"en","tag":"Documentation","count":262},{"language":"ar","tag":"Documentation","count":262},{"language":"de","tag":"Documentation","count":262},{"language":"es","tag":"Documentation","count":262},{"language":"fr","tag":"Documentation","count":262},{"language":"hi","tag":"Documentation","count":262},{"language":"ja","tag":"Documentation","count":262},{"language":"pt-BR","tag":"Documentation","count":262},{"language":"uk","tag":"Documentation","count":262},{"language":"vi","tag":"Documentation","count":262},{"language":"zh-Hans","tag":"Documentation","count":262},{"language":"zh-Hant","tag":"Documentation","count":262},{"language":"en","tag":"API Endpoints","count":183},{"language":"ar","tag":"API Endpoints","count":183},{"language":"de","tag":"API Endpoints","count":183},{"language":"es","tag":"API Endpoints","count":183},{"language":"fr","tag":"API Endpoints","count":183},{"language":"hi","tag":"API Endpoints","count":183},{"language":"ja","tag":"API Endpoints","count":183},{"language":"pt-BR","tag":"API Endpoints","count":183},{"language":"uk","tag":"API Endpoints","count":183},{"language":"vi","tag":"API Endpoints","count":183},{"language":"zh-Hans","tag":"API Endpoints","count":183},{"language":"zh-Hant","tag":"API Endpoints","count":183},{"language":"en","tag":"Help Center","count":126},{"language":"ar","tag":"Help Center","count":126},{"language":"de","tag":"Help Center","count":126},{"language":"es","tag":"Help Center","count":126},{"language":"fr","tag":"Help Center","count":126},{"language":"hi","tag":"Help Center","count":126},{"language":"ja","tag":"Help Center","count":126},{"language":"pt-BR","tag":"Help Center","count":126},{"language":"uk","tag":"Help Center","count":126},{"language":"vi","tag":"Help Center","count":126},{"language":"zh-Hans","tag":"Help Center","count":126},{"language":"zh-Hant","tag":"Help Center","count":126},{"language":"en","tag":"Ads","count":43},{"language":"ar","tag":"Ads","count":43},{"language":"de","tag":"Ads","count":43},{"language":"es","tag":"Ads","count":43},{"language":"fr","tag":"Ads","count":43},{"language":"hi","tag":"Ads","count":43},{"language":"ja","tag":"Ads","count":43},{"language":"pt-BR","tag":"Ads","count":43},{"language":"uk","tag":"Ads","count":43},{"language":"vi","tag":"Ads","count":43},{"language":"zh-Hans","tag":"Ads","count":43},{"language":"zh-Hant","tag":"Ads","count":43},{"language":"en","tag":"Additional","count":41},{"language":"ar","tag":"Additional","count":41},{"language":"de","tag":"Additional","count":41},{"language":"es","tag":"Additional","count":41},{"language":"fr","tag":"Additional","count":41},{"language":"hi","tag":"Additional","count":41},{"language":"ja","tag":"Additional","count":41},{"language":"pt-BR","tag":"Additional","count":41},{"language":"uk","tag":"Additional","count":41},{"language":"vi","tag":"Additional","count":41},{"language":"zh-Hans","tag":"Additional","count":41},{"language":"zh-Hant","tag":"Additional","count":41},{"language":"en","tag":"Technical Support","count":40},{"language":"ar","tag":"Technical Support","count":40},{"language":"de","tag":"Technical Support","count":40},{"language":"es","tag":"Technical Support","count":40},{"language":"fr","tag":"Technical Support","count":40},{"language":"hi","tag":"Technical Support","count":40},{"language":"ja","tag":"Technical Support","count":40},{"language":"pt-BR","tag":"Technical Support","count":40},{"language":"uk","tag":"Technical Support","count":40},{"language":"vi","tag":"Technical Support","count":40},{"language":"zh-Hans","tag":"Technical Support","count":40},{"language":"zh-Hant","tag":"Technical Support","count":40},{"language":"en","tag":"Post","count":22},{"language":"ar","tag":"Post","count":22},{"language":"de","tag":"Post","count":22},{"language":"es","tag":"Post","count":22},{"language":"fr","tag":"Post","count":22},{"language":"hi","tag":"Post","count":22},{"language":"ja","tag":"Post","count":22},{"language":"pt-BR","tag":"Post","count":22},{"language":"uk","tag":"Post","count":22},{"language":"vi","tag":"Post","count":22},{"language":"zh-Hans","tag":"Post","count":22},{"language":"zh-Hant","tag":"Post","count":22},{"language":"en","tag":"Dashboard","count":21},{"language":"ar","tag":"Dashboard","count":21},{"language":"de","tag":"Dashboard","count":21},{"language":"es","tag":"Dashboard","count":21},{"language":"fr","tag":"Dashboard","count":21},{"language":"hi","tag":"Dashboard","count":21},{"language":"ja","tag":"Dashboard","count":21},{"language":"pt-BR","tag":"Dashboard","count":21},{"language":"uk","tag":"Dashboard","count":21},{"language":"vi","tag":"Dashboard","count":21},{"language":"zh-Hans","tag":"Dashboard","count":21},{"language":"zh-Hant","tag":"Dashboard","count":21},{"language":"en","tag":"Product","count":16},{"language":"ar","tag":"Product","count":16},{"language":"de","tag":"Product","count":16},{"language":"es","tag":"Product","count":16},{"language":"fr","tag":"Product","count":16},{"language":"hi","tag":"Product","count":16},{"language":"ja","tag":"Product","count":16},{"language":"pt-BR","tag":"Product","count":16},{"language":"uk","tag":"Product","count":16},{"language":"vi","tag":"Product","count":16},{"language":"zh-Hans","tag":"Product","count":16},{"language":"zh-Hant","tag":"Product","count":16},{"language":"en","tag":"Facebook Ads","count":15},{"language":"ar","tag":"Facebook Ads","count":15},{"language":"de","tag":"Facebook Ads","count":15},{"language":"es","tag":"Facebook Ads","count":15},{"language":"fr","tag":"Facebook Ads","count":15},{"language":"hi","tag":"Facebook Ads","count":15},{"language":"ja","tag":"Facebook Ads","count":15},{"language":"pt-BR","tag":"Facebook Ads","count":15},{"language":"uk","tag":"Facebook Ads","count":15},{"language":"vi","tag":"Facebook Ads","count":15},{"language":"zh-Hans","tag":"Facebook Ads","count":15},{"language":"zh-Hant","tag":"Facebook Ads","count":15}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".center{display:block;margin-left:auto;margin-right:auto;max-width:100%;height:auto}.welcome-banner{margin-left:auto;margin-right:auto;max-width:100%;height:auto;border-radius:12px}.custom-bullets{padding-left:0}.custom-bullets li{position:relative;padding-left:1.5em;margin-bottom:0.75em;list-style-type:none;line-height:1.4}.custom-bullets li::before{content:\"\\2022\";color:#2266c2;position:absolute;left:0.5em;top:0}.custom-bullets li:last-child{margin-bottom:0}.custom-bullets li>*{margin-top:0;margin-bottom:0}ul ul{margin-left:20px}.custom-bullets li::after,.custom-bullets li::before{border:none!important;background:none!important}.button{background-color:#2266c2;color:#fff;padding:16px 24px;border-radius:8px;border:none;transition-duration:0.2s;margin-top:100px}.button:hover{background-color:#133e76;color:white}.button2{background-color:#fff;color:#2266c2;padding:16px 24px;border-radius:8px;border:1px solid #2266c2;transition-duration:0.2s}.button2:hover{background-color:#133e76;color:white}.video-container{width:100%;max-width:560px;margin:0 auto}.video-container iframe{width:100%;height:auto;aspect-ratio:16 / 9}.plan-tag-light{font-family:\"JetBrains Mono\", monospace;display:inline-block;padding:2px 6px;border-radius:4px;font-size:12px;color:#ffffff;background-color:#16171b;margin-right:10px}.plan-tag-dark{font-family:\"JetBrains Mono\", monospace;display:inline-block;padding:2px 6px;border-radius:4px;font-size:12px;color:#3f4144;background-color:#b7b9bb;margin-right:10px}@media (min-width: 768px){.video-container{display:flex;justify-content:center;align-items:center}}code{font-size:0.96em;line-height:1.7em}dialog.ayr-playground{padding:0;border:none;background:transparent;width:min(1100px, calc(100vw - 32px));max-width:none;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);margin:auto;overflow-y:auto}dialog.ayr-playground::backdrop{background:rgb(3 7 18 / 0.6);backdrop-filter:blur(2px)}.ayr-playground-card{--ayr-border: rgb(3 7 18 / 0.1);--ayr-muted-bg: rgb(3 7 18 / 0.03);border:1px solid var(--ayr-border);border-radius:16px;background:rgb(var(--background-light));box-shadow:0 24px 48px -12px rgb(0 0 0 / 0.35)}.dark .ayr-playground-card{--ayr-border: rgb(255 255 255 / 0.1);--ayr-muted-bg: rgb(255 255 255 / 0.04);background:rgb(var(--background-dark))}.ayr-playground-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1rem 0.75rem 1.25rem}.ayr-playground-close{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;color:rgb(107 114 128)}.ayr-playground-close:hover{background:var(--ayr-muted-bg);color:inherit}.ayr-playground-request{display:flex;align-items:stretch;gap:0.75rem;padding:0 1.25rem 1rem;border-bottom:1px solid var(--ayr-border)}.ayr-playground-url{display:flex;flex:1;min-width:0;align-items:center;gap:0.75rem;min-height:44px;padding:0 0.875rem;border:1px solid var(--ayr-border);border-radius:10px;background:var(--ayr-muted-bg)}.ayr-playground-send{flex-shrink:0;padding:0 1.25rem;border-radius:10px}.ayr-playground-url code{padding:0;border:none;background:none}.ayr-playground-method{flex-shrink:0;padding:0.125rem 0.5rem;border-radius:6px;background:rgb(34 197 94 / 0.15);color:rgb(21 128 61);font-size:0.75rem;font-weight:700}.dark .ayr-playground-method{color:rgb(74 222 128)}.ayr-playground-body{display:grid;gap:1.75rem;padding:1.25rem}@media (min-width: 768px){.ayr-playground-body{grid-template-columns:minmax(0, 5fr) minmax(0, 7fr)}}.ayr-playground-fields,.ayr-playground-output{display:flex;flex-direction:column;gap:1.5rem;min-width:0}.ayr-playground-section-title{display:flex;align-items:center;gap:0.5rem;margin-bottom:0.75rem;font-size:0.75rem;font-weight:600;letter-spacing:0.05em;text-transform:uppercase;color:rgb(107 114 128)}.ayr-playground-output .code-block,.ayr-playground-output .code-group{margin-top:0;margin-bottom:0}.ayr-playground-status{padding:0.0625rem 0.5rem;border-radius:9999px;font-size:0.75rem;letter-spacing:normal;text-transform:none}.ayr-playground-status.is-ok{background:rgb(34 197 94 / 0.15);color:rgb(21 128 61)}.ayr-playground-status.is-error{background:rgb(239 68 68 / 0.15);color:rgb(185 28 28)}.dark .ayr-playground-status.is-ok{color:rgb(74 222 128)}.dark .ayr-playground-status.is-error{color:rgb(248 113 113)}.ayr-playground-empty{padding:1.5rem 1rem;border:1px dashed var(--ayr-border);border-radius:12px;text-align:center;font-size:0.875rem;color:rgb(107 114 128)}.ayr-playground-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.dark .ayr-playground-section-title,.dark .ayr-playground-empty,.dark .ayr-playground-close{color:rgb(156 163 175)}.dark .ayr-playground-close:hover{color:inherit}"}]}
{"page":{"pagePath":"hi/dashboard/connect-social-accounts/x-twitter-byo-keys","slug":"/hi/dashboard/connect-social-accounts/x-twitter-byo-keys","pageMetadata":{"title":"अपनी स्वयं की X API Key सेट करें","description":"अपने स्वयं के X (Twitter) API credentials को Ayrshare के साथ जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका","icon":"x-twitter","href":"/hi/dashboard/connect-social-accounts/x-twitter-byo-keys"},"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 (Twitter) API credentials को Ayrshare के साथ जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका\"\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];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,CodeGroup,Heading,Info,Note,OptimizedImage,Step,Steps,Table,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`31 मार्च, 2026 को, X ने बदल दिया कि तृतीय-पक्ष प्लेटफ़ॉर्म अपने API तक कैसे पहुँचते हैं। परिणामस्वरूप, Ayrshare के माध्यम से X पर पोस्ट करने वाले प्रत्येक Ayrshare account को अपना स्वयं का X Developer App पंजीकृत करना होगा और हर अनुरोध पर अपनी API Key और API Secret का उपयोग करना होगा।`}),`\n`,_jsx(_components.p,{children:`यह X द्वारा अनिवार्य एक प्लेटफ़ॉर्म-व्यापी परिवर्तन है जो सभी तृतीय-पक्ष उपकरणों को प्रभावित करता है।`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`BYO keys प्रति प्लेटफ़ॉर्म एक बार सेट की जाती हैं (account-wide), प्रति ग्राहक या sub-profile नहीं।`}),` आप अपने स्वयं के X account के तहत `,_jsx(_components.strong,{children:`एक X Developer App`}),` बनाते हैं, और वही `,_jsx(_components.strong,{children:`API Key + API Secret`}),` X के लिए account-wide लागू होते हैं — वे आपके Ayrshare account के तहत X को लिंक करने वाले `,_jsx(_components.strong,{children:`हर`}),` sub-profile / end-user के लिए उपयोग किए जाते हैं। यदि आपके पास सैकड़ों sub-profiles वाला Business या Enterprise plan है, तो आपको इस setup को प्रत्येक के लिए दोहराने की आवश्यकता `,_jsx(_components.strong,{children:`नहीं`}),` है। आप इसे X प्लेटफ़ॉर्म के लिए एक बार सेट करते हैं, फिर हर अनुरोध पर वही दो headers पास करते हैं।`]})}),`\n`,_jsx(_components.p,{children:`हमने setup प्रक्रिया को यथासंभव सरल बनाने के लिए streamlined किया है, और इसे पूरा करने में 10 मिनट से भी कम समय लगना चाहिए। नीचे हमारी चरण-दर-चरण मार्गदर्शिका का पालन करें, और यदि आपको रास्ते में कोई मदद चाहिए, तो हमारी टीम सहायता के लिए यहाँ है।`}),`\n`,_jsx(Heading,{level:`2`,id:`चरण-1-अपना-x-developer-account-बनाएँ`,children:`चरण 1: अपना X Developer Account बनाएँ`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Developer Console में साइन इन करें`,children:[_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://console.x.com`,children:`console.x.com`}),` पर जाएँ और अपने X account के साथ साइन इन करें। यदि आपको सहायता चाहिए तो `,_jsx(_components.a,{href:`https://docs.x.com/x-api/getting-started/getting-access`,children:`X’s getting started guide`}),` देखें।`]}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step1-developer-console.webp?fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=58a00543db365d4d889722070643a070`,alt:`X Developer Console sign-in page`,\"data-og-width\":`1234`,\"data-og-height\":`803`,\"data-path\":`images/dashboard/x-byo-setup/step1-developer-console.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step1-developer-console.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=938879f1e567194f28309da83fc13ee7 280w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step1-developer-console.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=8d06c7a4806c5fdc0ff5a000ce89b591 560w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step1-developer-console.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=8167e68f57c9d3d30eedd20482bac0d8 840w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step1-developer-console.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=411376aafc312705b23976ea6b32e283 1100w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step1-developer-console.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=f20d8d63f8a31cdf0bd90aa256e47b65 1650w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step1-developer-console.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=2f6031fe4744e4e7e4fb8943553eb191 2500w`})]}),_jsx(Step,{title:`Onboarding पूरा करें`,children:_jsx(_components.p,{children:`Developer onboarding पूरा करें और Developer Agreement और नीतियों को स्वीकार करें।`})}),_jsx(Step,{title:`Console तक पहुँचें`,children:_jsx(_components.p,{children:`अब आप X Developer Console में हैं।`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-2-create-an-app`,children:`चरण 2: एक App बनाएँ`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`आप `,_jsx(_components.strong,{children:`प्रति Ayrshare account केवल एक X Developer App`}),` बनाते हैं। वही app और उसकी API Key + API Secret बाद में आपके Ayrshare account के तहत लिंक किए गए हर sub-profile / end-user के लिए पुन: उपयोग की जाती हैं। आप प्रति ग्राहक एक नया app नहीं बनाते।`]})}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Apps पर navigate करें`,children:[_jsxs(_components.p,{children:[`Developer Console में, `,_jsx(_components.strong,{children:`Apps`}),` पर navigate करें।`]}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-apps-page.webp?fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=36076b8577cb46f4713cad41933bae2f`,alt:`Apps page in X Developer Console`,\"data-og-width\":`2048`,\"data-og-height\":`875`,\"data-path\":`images/dashboard/x-byo-setup/step2-apps-page.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-apps-page.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=618a5b0a5c192d759d946bb84d30d97e 280w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-apps-page.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=01a42a42982733035e31ddc1cc03908f 560w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-apps-page.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=3ba5041fe7c38b74ee59e7225c7b2f4d 840w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-apps-page.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=d3346daba4eac0bc05707d8d3b26174b 1100w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-apps-page.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=8b8daa6f8dd11209fd40f89872b6303a 1650w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-apps-page.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=e5a80b04de69e89259566f8e6f6f1db8 2500w`})]}),_jsxs(Step,{title:`App बनाएँ`,children:[_jsxs(_components.p,{children:[`App dashboard में, `,_jsx(_components.strong,{children:`Create App`}),` पर क्लिक करें (विवरण के लिए `,_jsx(_components.a,{href:`https://docs.x.com/fundamentals/developer-apps`,children:`X’s App setup docs`}),` देखें)। एक app नाम दर्ज करें (सामान्यतः आपका ब्रांड नाम)। जब उपयोगकर्ता अपने X account को कनेक्ट करते हैं तो यह नाम OAuth authorization स्क्रीन में दिखाई देगा।`]}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-create-app.webp?fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=dd9627eeb7e58c80f6249dd5cbfb0d4e`,alt:`Create App button in the X Developer Console`,\"data-og-width\":`2048`,\"data-og-height\":`947`,\"data-path\":`images/dashboard/x-byo-setup/step2-create-app.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-create-app.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=abb52ed3abce2fb2f6e127c7ce69a1cc 280w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-create-app.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=10d71bd1e512483a35bcb3b3832b9558 560w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-create-app.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=5e7df1f1f964f08cc14fd8456e0adb5a 840w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-create-app.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=61cfb7400f71483333293f5503280210 1100w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-create-app.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=96e9795208e053de665d526b7abd7f8b 1650w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-create-app.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=bd4cdf9107efb7cc20741f2126d81e54 2500w`})]}),_jsxs(Step,{title:`Environment चुनें`,children:[_jsxs(_components.p,{children:[`Dropdown में `,_jsx(_components.strong,{children:`Production`}),` environment चुनें।`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Pay-per-use package का उपयोग करें।`}),` आपकी app `,_jsx(_components.strong,{children:`Pay-per-use`}),` package के `,_jsx(_components.strong,{children:`Production`}),` environment में होनी चाहिए, `,_jsx(_components.strong,{children:`Standalone`}),` में नहीं। नहीं तो आपका X account लिंक करना 403 “Client Forbidden” error (`,_jsx(_components.code,{children:`client-not-enrolled`}),`) के साथ विफल होगा।`]})}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-credentials-popup.webp?fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=2b111d840665b0b7eb96fc0d9df99f0e`,alt:`Production environment selection and credentials popup`,\"data-og-width\":`1109`,\"data-og-height\":`900`,\"data-path\":`images/dashboard/x-byo-setup/step2-credentials-popup.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-credentials-popup.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=c8e37ddac31a20a0798ff7735cd59e9c 280w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-credentials-popup.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=be02b3bc6d0d662ce9eb21f946dd870c 560w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-credentials-popup.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=c71bebd542e27bceb80bd3adc0294f62 840w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-credentials-popup.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=88fccea45ab7202760a09211941733dc 1100w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-credentials-popup.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=a2ea9f4c1955fbddb31dce812cd7f779 1650w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step2-credentials-popup.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=537f94cee58e60756d29a5aead2dce57 2500w`})]}),_jsx(Step,{title:`प्रारंभिक credentials popup बंद करें`,children:_jsxs(_components.p,{children:[`X कई credentials generate करेगा। `,_jsx(_components.strong,{children:`इन credentials को अनदेखा करें और इस विंडो को बंद करें।`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-3-configure-app-permissions`,children:`चरण 3: App अनुमतियाँ कॉन्फ़िगर करें`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`अपनी app settings खोलें`,children:[_jsx(_components.p,{children:`“Apps” के अंतर्गत, नए app को खोजें (यदि यह प्रकट नहीं होता है तो पेज refresh करें), फिर इसके विवरण देखने के लिए उस पर क्लिक करें।`}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-details.webp?fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=41f185aa2ffb4d90f0f9f174597cc4f1`,alt:`App details page in the X Developer Console`,\"data-og-width\":`2048`,\"data-og-height\":`937`,\"data-path\":`images/dashboard/x-byo-setup/step3-app-details.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-details.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=033178616425374ab2f1a47518398b3a 280w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-details.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=8c75387800df2a54b4c1e1a9c2d63235 560w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-details.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=e52c65c0824faf161c693c7674e6e8cb 840w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-details.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=8d6578e29681faab3b7a60806c2e3e43 1100w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-details.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=9672f489ac7e262f65e3d6ca4dbe3866 1650w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-details.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=90ab187dbc7b4dd68d3396d082cf170e 2500w`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`User authentication settings`}),` के अंतर्गत, `,_jsx(_components.strong,{children:`Set up`}),` पर क्लिक करें।`]}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-user-auth-settings.webp?fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=4faad9d5bc061f442ee0cc605e0aad6a`,alt:`User authentication settings, click Set up`,\"data-og-width\":`2048`,\"data-og-height\":`988`,\"data-path\":`images/dashboard/x-byo-setup/step3-user-auth-settings.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-user-auth-settings.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=114dcee67285e624649686f9af5b69da 280w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-user-auth-settings.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=edfcf1b336fddcb4fe76f443aace668f 560w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-user-auth-settings.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=88bfed4b63d47c3ee131faefd618bdaa 840w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-user-auth-settings.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=93fc2fc72f38d9722ac07314d934ff4b 1100w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-user-auth-settings.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=39f7365bae71f1ecf74f31c5155e16e9 1650w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-user-auth-settings.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=5050507e04eaf1f48b9165d48acae15a 2500w`})]}),_jsxs(Step,{title:`App अनुमतियाँ सेट करें`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`App permissions`}),` के अंतर्गत, `,_jsx(_components.strong,{children:`Read and write and Direct message`}),` चुनें। यह पोस्टिंग और DMs सहित पूर्ण सुविधा समर्थन के लिए आवश्यक है।`]}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-permissions.webp?fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=57549ea060507af5b99552b6952ef95a`,alt:`App permissions set to Read and write and Direct message`,\"data-og-width\":`2048`,\"data-og-height\":`916`,\"data-path\":`images/dashboard/x-byo-setup/step3-app-permissions.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-permissions.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=967663e9221988a42f5240ee3b04a7fa 280w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-permissions.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=860fb7340e53f30de165d46cb504ae3a 560w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-permissions.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=a45de33c96315163857be3df57ad9753 840w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-permissions.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=4ba2ac9b9a8cafb254225077d62d87c3 1100w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-permissions.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=a523bdc9a380a6cc6ce66effe823bd22 1650w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-permissions.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=2aa1bc4175dc3562e7651b4e16964fa9 2500w`})]}),_jsxs(Step,{title:`App प्रकार सेट करें`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Type of App`}),` के अंतर्गत, `,_jsx(_components.strong,{children:`Web App, Automated App or Bot`}),` चुनें। यह Ayrshare जैसे server-side integrations के लिए सही विकल्प है।`]}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-type.webp?fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=8609d048548432862ad801113e7b7b8e`,alt:`Type of App set to Web App, Automated App or Bot`,\"data-og-width\":`2042`,\"data-og-height\":`658`,\"data-path\":`images/dashboard/x-byo-setup/step3-app-type.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-type.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=8cc5080d23a4f18a240245fba86ea825 280w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-type.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=067ef3d8de679b214db46083f8ef902f 560w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-type.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=2d6773c757e629dbd1baac07df398425 840w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-type.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=a0f6290ebdae9fe04416de5fb4ade368 1100w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-type.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=03eec010d9d59dc1be31028fb7b92669 1650w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-app-type.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=62a973daa73cd285b4d4889fae619140 2500w`})]}),_jsxs(Step,{title:`Callback और website URLs सेट करें`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`App info`}),` के अंतर्गत:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Callback URL:`}),` निम्नलिखित दोनों callback URLs जोड़ें:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`https://profile.ayrshare.com/social-accounts`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`https://app.ayrshare.com/social-accounts`})}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Website URL:`}),` `,_jsx(_components.code,{children:`https://app.ayrshare.com`})]}),`\n`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`इस चरण को न छोड़ें।`}),` ये callback URLs OAuth linking flow के लिए आवश्यक हैं। जब आपके end-users X कनेक्शन को अधिकृत करते हैं, तो X उन्हें linking प्रक्रिया पूरी करने के लिए इनमें से किसी एक URL पर redirect करता है। यदि ये गायब हैं, तो OAuth flow `,_jsx(_components.code,{children:`403 Callback URL not approved`}),` error के साथ विफल होगा।`]})}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/itktiDewCYTaymFN/images/dashboard/x-byo-setup/step3-app-info-urls.webp?fit=max\u0026auto=format\u0026n=itktiDewCYTaymFN\u0026q=85\u0026s=09d7254aa2d183e2899f95412e97316b`,alt:`App info form with callback URL and website URL filled in`,\"data-og-width\":`908`,\"data-og-height\":`664`,\"data-path\":`images/dashboard/x-byo-setup/step3-app-info-urls.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/itktiDewCYTaymFN/images/dashboard/x-byo-setup/step3-app-info-urls.webp?w=280\u0026fit=max\u0026auto=format\u0026n=itktiDewCYTaymFN\u0026q=85\u0026s=e4cd55b7c0e8e5b2e78f7f246486c6fe 280w, https://mintcdn.com/ayrshare-docs/itktiDewCYTaymFN/images/dashboard/x-byo-setup/step3-app-info-urls.webp?w=560\u0026fit=max\u0026auto=format\u0026n=itktiDewCYTaymFN\u0026q=85\u0026s=0daa1d7c0cfe379ab26d73fd3999914b 560w, https://mintcdn.com/ayrshare-docs/itktiDewCYTaymFN/images/dashboard/x-byo-setup/step3-app-info-urls.webp?w=840\u0026fit=max\u0026auto=format\u0026n=itktiDewCYTaymFN\u0026q=85\u0026s=57ed773de8d63058d7b63eedffcc9255 840w, https://mintcdn.com/ayrshare-docs/itktiDewCYTaymFN/images/dashboard/x-byo-setup/step3-app-info-urls.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=itktiDewCYTaymFN\u0026q=85\u0026s=a641ad5ad76d12c1ec264a2c9def0a1a 1100w, https://mintcdn.com/ayrshare-docs/itktiDewCYTaymFN/images/dashboard/x-byo-setup/step3-app-info-urls.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=itktiDewCYTaymFN\u0026q=85\u0026s=bdde71f24a7c1b009877ce3777b94486 1650w, https://mintcdn.com/ayrshare-docs/itktiDewCYTaymFN/images/dashboard/x-byo-setup/step3-app-info-urls.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=itktiDewCYTaymFN\u0026q=85\u0026s=ac8ea4413fff8494654603ed248f0f04 2500w`})]}),_jsx(Step,{title:`अपनी settings save करें`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Save`}),` पर क्लिक करें। आप OAuth 2.0 popup को अनदेखा कर सकते हैं, क्योंकि आप केवल OAuth 1.0 keys (API Key और API Secret) में से 2 का उपयोग करेंगे।`]})})]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`महत्वपूर्ण: लिंक करने से पहले अनुमतियाँ सेट करें।`}),` आप यहाँ जो अनुमतियाँ चुनते हैं, वे यह निर्धारित करती हैं कि आपका app क्या कर सकता है। यदि आप OAuth के माध्यम से अपने X account को लिंक करने के बाद अनुमतियाँ बदलते हैं, तो आपको फिर से लिंक करना होगा ताकि नया Access Token अद्यतन अनुमतियों को inherit कर सके।`]}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-keys-and-tokens.webp?fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=761423c4c27f0c90b480d00f1ff253f7`,alt:`Keys and tokens page showing OAuth 1.0 keys with permission level`,\"data-og-width\":`926`,\"data-og-height\":`854`,\"data-path\":`images/dashboard/x-byo-setup/step3-keys-and-tokens.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-keys-and-tokens.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=96fb3e63f604deca1038c523a85e2a0f 280w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-keys-and-tokens.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=ce1be3557c7c5d0ebd418647267dc08a 560w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-keys-and-tokens.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=03bebbf43dfd5f1520ecf0211ad5d7f4 840w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-keys-and-tokens.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=03f9aeeec29de8366a5213a506ad45d3 1100w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-keys-and-tokens.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=8dbc09078b85136c43ab34a6ef44f5ad 1650w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step3-keys-and-tokens.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=0b16c0a19d011377c192ef190c3edafd 2500w`})]}),`\n`,_jsx(_components.p,{children:`कृपया सुनिश्चित करें कि आप इन 2 keys को store करते हैं:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Key`}),` (aka Consumer Key, X app पहचानकर्ता)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Secret`}),` (aka Consumer Secret)`]}),`\n`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`आपको मैन्युअल रूप से Access Tokens generate करने की आवश्यकता `,_jsx(_components.strong,{children:`नहीं`}),` है। Ayrshare स्वचालित रूप से इसे संभालता है जब आप OAuth के माध्यम से अपने X account को लिंक करते हैं।`]})}),`\n`,_jsx(Heading,{level:`2`,id:`चरण-4-x-api-credits-खरीदें`,children:`चरण 4: X API Credits खरीदें`}),`\n`,_jsx(_components.p,{children:`X अब credit-आधारित API billing का उपयोग करता है, जिसे developer console के माध्यम से खरीदा जाता है।`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Billing पर navigate करें`,children:[_jsxs(_components.p,{children:[`Developer Console में, बाएँ sidebar में `,_jsx(_components.strong,{children:`Billing → Credits`}),` पर क्लिक करें।`]}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-billing-credits.webp?fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=b104e991f726ec2ecb8cc8274d1889d2`,alt:`Billing Credits page in X Developer Console`,\"data-og-width\":`2048`,\"data-og-height\":`885`,\"data-path\":`images/dashboard/x-byo-setup/step4-billing-credits.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-billing-credits.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=05857bceafa90c02bf795d8600c532d7 280w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-billing-credits.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=b169db58214681f1f028250953a19210 560w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-billing-credits.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=b041009571f7d6e3d6402ecab7ff0315 840w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-billing-credits.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=abb16fc8f0c380dbe8f7b1d606d65352 1100w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-billing-credits.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=f22c4726b85514ded6f879cc09d9ce63 1650w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-billing-credits.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=5172e62ed429e1aec41cb25dab287c1f 2500w`})]}),_jsxs(Step,{title:`Credits खरीदें`,children:[_jsx(_components.p,{children:`Credits खरीदें (न्यूनतम $5 है, जो सैकड़ों API calls के लिए पर्याप्त है)। प्रत्येक API call एक पैसे का एक अंश है, इसलिए अधिकांश उपयोगकर्ताओं के लिए लागत न्यूनतम होनी चाहिए।`}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-purchase-credits.webp?fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=ae555dc44bcfdfb0d7e4f55237b248ef`,alt:`Credit purchase page in the X Developer Console`,\"data-og-width\":`2048`,\"data-og-height\":`1050`,\"data-path\":`images/dashboard/x-byo-setup/step4-purchase-credits.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-purchase-credits.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=880a3ca24b200671083b647a8e01c46f 280w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-purchase-credits.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=1d4590391ebd4bb7fb25c3051c9c0915 560w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-purchase-credits.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=7cf1371cc050e20e5dadf5bd0b48eb6d 840w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-purchase-credits.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=fa7c584c07a7c2ae9034ebbff4a66143 1100w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-purchase-credits.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=fd4012882939b5f4f2f35a97edd836a0 1650w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-purchase-credits.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=31445cf4987844d06fb7c8d989c51389 2500w`})]}),_jsxs(Step,{title:`Auto-recharge सक्षम करें`,children:[_jsxs(_components.p,{children:[`सेवा में व्यवधानों से बचने के लिए आप `,_jsx(_components.strong,{children:`auto-recharge`}),` सक्षम कर सकते हैं, और अपने billing cycle में आप जितनी अधिकतम राशि खर्च कर सकते हैं उसे सेट करके अपने spend cap को प्रबंधित कर सकते हैं।`]}),_jsx(OptimizedImage,{class:`center`,width:`700`,src:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-auto-recharge.webp?fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=c9e0f36c379bbd5c47c8b242213eaa6a`,alt:`Auto-recharge and spend cap settings in X Developer Console`,\"data-og-width\":`1832`,\"data-og-height\":`593`,\"data-path\":`images/dashboard/x-byo-setup/step4-auto-recharge.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-auto-recharge.webp?w=280\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=f7101537cfe4f11ad00731fb2a2aa367 280w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-auto-recharge.webp?w=560\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=3f3faaa4b77240d48d48c09acfd8799f 560w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-auto-recharge.webp?w=840\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=85708d9e27f8fd9b3f0d5dc290969eae 840w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-auto-recharge.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=3453c9a1780bc8d1a3374d421a673fcf 1100w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-auto-recharge.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=ab0b806605b208cb8e3b5a4cee307271 1650w, https://mintcdn.com/ayrshare-docs/qVYhhKC6hYCwYmRp/images/dashboard/x-byo-setup/step4-auto-recharge.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=qVYhhKC6hYCwYmRp\u0026q=85\u0026s=ef3fcae5d4f8e3d14a68ed50faaf8d23 2500w`})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Credits के बिना आपकी API calls विफल हो जाएँगी।`}),` X का API pay-per-use है। यदि आपका credit balance शून्य है, तो हर API अनुरोध “Your enrolled account does not have any credits to fulfill this request.” संदेश के साथ `,_jsx(_components.code,{children:`402 CreditsDepleted`}),` error लौटाएगा। इसमें posting, tweets पढ़ना, और user lookups शामिल हैं। अपने integration का परीक्षण करने से पहले credits लोड करें। X के pricing के पूर्ण अद्यतन के लिए `,_jsx(_components.a,{href:`#how-x-api-pricing-works`,children:`X API Pricing कैसे काम करता है`}),` देखें।`]})}),`\n`,_jsx(Heading,{level:`2`,id:`चरण-5-अपने-ayrshare-api-calls-अद्यतन-करें`,children:`चरण 5: अपने Ayrshare API Calls अद्यतन करें`}),`\n`,_jsx(_components.p,{children:`चरण 3 में, आपने इन 2 items को अपने स्वयं के env, config, या secrets manager में सुरक्षित रूप से save किया:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Key`}),` (aka Consumer Key, X app पहचानकर्ता)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Secret`}),` (aka Consumer Secret)`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`अब, अपने Ayrshare API calls के headers में अपने X credentials जोड़ें।`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`आपकी कुंजियाँ निजी रहती हैं।`}),` इन हेडर में आप जो API Key और API Secret भेजते हैं, वे केवल उसी अनुरोध के लिए इस्तेमाल होते हैं और Ayrshare उन्हें संग्रहित नहीं करता। लिंकिंग URL बनाना इसका एकमात्र अपवाद है, जिसे नीचे सुरक्षा अनुभाग में समझाया गया है।`]})}),`\n`,_jsx(Heading,{level:`3`,id:`header-reference`,children:`Header संदर्भ`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`मान`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Key`})}),_jsx(_components.td,{children:`API Key (Consumer Key)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Secret`})}),_jsx(_components.td,{children:`API Key Secret (Consumer Secret)`})]})]})]}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`यह कैसे बताएँ कि आपकी अनुमतियाँ गलत हैं:`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`यदि आपकी app permissions गलत तरीके से कॉन्फ़िगर की गई हैं, तो आपका API अनुरोध निम्नलिखित संदेश के साथ `,_jsx(_components.code,{children:`403 Forbidden`}),` error लौटा सकता है: “Your client app is not configured with the appropriate OAuth1 app permissions.”`]}),`\n`]}),_jsxs(_components.p,{children:[`यदि आप यह error देखते हैं, तो X Developer Console में अपनी app permissions को `,_jsx(_components.strong,{children:`Read and write and Direct message`}),` पर अद्यतन करें, फिर OAuth के माध्यम से अपने X account को फिर से लिंक करें ताकि नया Access Token अद्यतन अनुमतियों को inherit कर सके।`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`code-उदाहरण`,children:`Code उदाहरण`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`6`,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:`6`,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.ayrshare.com/api/post`}),_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 YOUR_AYRSHARE_API_KEY\"`}),_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:` \"X-Twitter-OAuth1-Api-Key: your_api_key\"`}),_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:` \"X-Twitter-OAuth1-Api-Secret: your_api_secret\"`}),_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:` '{\"post\": \"Hello from my own X App!\", \"platforms\": [\"twitter\"]}'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`13`,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:`13`,children:[_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:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.ayrshare.com/api/post\"`}),_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:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_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:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Bearer YOUR_AYRSHARE_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Twitter-OAuth1-Api-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`X_API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Twitter-OAuth1-Api-Secret\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`X_API_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_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:` post:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Hello from my own X App!\"`}),_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:` platforms:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"twitter\"`}),_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`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,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:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` os`})]}),`\n`,_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:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer YOUR_AYRSHARE_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Twitter-OAuth1-Api-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Twitter-OAuth1-Api-Secret\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: os.environ[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X_API_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:`#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:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.ayrshare.com/api/post\"`}),_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:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`headers,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_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:`\"post\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello from my own X App!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"platforms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"twitter\"`}),_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.p,{children:`आपके मौजूदा automations और workflows तब तक काम करते रहेंगे जब तक आप X को target करने वाले हर अनुरोध में अपनी API Key और API Secret headers शामिल करते हैं।`}),`\n`,_jsx(Heading,{level:`3`,id:`migrating-existing-profiles-business--enterprise`,children:`मौजूदा Profiles को Migrate करना (Business और Enterprise)`}),`\n`,_jsx(_components.p,{children:`यदि आपके पास sub-profiles हैं जो पहले से ही Ayrshare के माध्यम से X से लिंक हैं, तो उन profiles को BYO keys पर switch करने के बाद अपने X accounts को फिर से लिंक करना होगा। ऐसा इसलिए है क्योंकि मौजूदा access tokens Ayrshare के X app के तहत जारी किए गए थे और आपकी consumer keys के साथ उपयोग नहीं किए जा सकते (OAuth 1.0a signatures उस app से bound हैं जिसने token जारी किया था)।`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`अपनी keys को generateJWT में शामिल करें`,children:[_jsxs(_components.p,{children:[`अपने `,_jsx(_components.a,{href:`/apis/profiles/generate-jwt#body-parameters`,children:`generateJWT`}),` कॉल के body में `,_jsx(_components.code,{children:`twitterApiKey`}),` और `,_jsx(_components.code,{children:`twitterApiSecret`}),` जोड़ें। ये एन्क्रिप्ट करके लिंकिंग सेशन के साथ संग्रहित किए जाते हैं और आपके अंतिम उपयोगकर्ताओं को दिखाई नहीं देते।`]}),_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:` \"profileKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"twitterApiKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_X_CONSUMER_KEY\"`}),_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:` \"twitterApiSecret\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_X_CONSUMER_SECRET\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`लिंकिंग URL बनाना ही एकमात्र जगह है जहाँ आपकी consumer keys body में जाती हैं: यह अनुरोध, या `,_jsx(_components.a,{href:`/apis/profiles/create-link-session`,children:_jsx(_components.code,{children:`POST /profiles/link-sessions`})}),`। बाकी हर X अनुरोध ऊपर बताए गए हेडर इस्तेमाल करता है।`]})]}),_jsxs(Step,{title:`उपयोगकर्ताओं को X फिर से लिंक करने के लिए कहें`,children:[_jsx(_components.p,{children:`Keys को शामिल करते हुए JWT generate करने के बाद, आपके उपयोगकर्ताओं को profile linking पेज के माध्यम से अपने X account को reconnect करना होगा। OAuth consent screen अब Ayrshare के बजाय आपका app नाम दिखाएगी।`}),_jsx(_components.p,{children:`इसे streamline करने के लिए, आप कर सकते हैं:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/apis/profiles/unlink-social-network`,children:`Unlink API`}),` के माध्यम से accounts को programmatically अनलिंक करें, फिर उपयोगकर्ताओं से फिर से authorize करने के लिए कहें`]}),`\n`,_jsxs(_components.li,{children:[`Fresh login को force करने के लिए generateJWT में `,_jsxs(_components.a,{href:`/apis/profiles/generate-jwt#param-logout`,children:[_jsx(_components.code,{children:`logout`}),` parameter`]}),` का उपयोग करें`]}),`\n`,_jsxs(_components.li,{children:[`Migration flow के दौरान linking पेज पर केवल X दिखाने के लिए `,_jsx(_components.a,{href:`/apis/profiles/generate-jwt#param-allowed-social`,children:_jsx(_components.code,{children:`allowedSocial`})}),` का उपयोग करें`]}),`\n`]})]}),_jsx(Step,{title:`सभी API calls पर headers भेजते रहें`,children:_jsxs(_components.p,{children:[`फिर से लिंक करने के बाद, हर API call (posting, analytics, comments, आदि) पर `,_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Key`}),` और `,_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Secret`}),` headers शामिल करना जारी रखें।`]})})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`एक बार जब कोई profile आपके X app के तहत फिर से लिंक हो जाता है, तो उस profile के लिए सभी बाद के पोस्ट आपकी credentials का उपयोग करेंगे। आप अपने `,_jsx(_components.a,{href:`https://console.x.com`,children:`X Developer Console`}),` में Usage पेज देखकर इसे सत्यापित कर सकते हैं।`]})}),`\n`,_jsx(Heading,{level:`3`,id:`अपने-setup-को-सत्यापित-करें`,children:`अपने Setup को सत्यापित करें`}),`\n`,_jsxs(_components.p,{children:[`यह पुष्टि करने के लिए कि सब कुछ काम कर रहा है, अपने नए headers के साथ Ayrshare API के माध्यम से एक परीक्षण call करें। `,_jsx(_components.a,{href:`/apis/analytics/social`,children:`/analytics/social`}),` endpoint एक अच्छा lightweight परीक्षण है, क्योंकि यह कोई पोस्ट नहीं बनाएगा।`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-x-api-pricing-works`,children:`X API Pricing कैसे काम करता है`}),`\n`,_jsx(_components.p,{children:`पहले, Ayrshare आपकी ओर से X के API उपयोग की लागत को कवर करता था। X के वर्तमान मॉडल के तहत, प्रत्येक Ayrshare ग्राहक अपना स्वयं का X Developer account रखता है और अपने application द्वारा किए गए API अनुरोधों के लिए सीधे X को भुगतान करता है। (प्रति Ayrshare account एक X Developer account, प्रति end-user नहीं। आपके सभी sub-profiles एक ही X Developer account और credit balance साझा करते हैं।)`}),`\n`,_jsx(_components.p,{children:`X का pricing मॉडल pay-per-use है: आप X Developer Console में credits खरीदते हैं, और API अनुरोध किए जाने पर वे deduct हो जाते हैं। कोई अनुबंध या subscriptions की आवश्यकता नहीं है।`}),`\n`,_jsx(_components.p,{children:`सामान्य operations सस्ते हैं। उदाहरण के लिए:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Operation`}),_jsx(_components.th,{children:`अनुमानित लागत`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`एक पोस्ट बनाना (केवल text)`}),_jsx(_components.td,{children:`~$0.01 प्रति पोस्ट`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Media के साथ एक पोस्ट बनाना`}),_jsx(_components.td,{children:`~$0.02 प्रति पोस्ट (media अपलोड और post creation अलग अनुरोध हैं)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`एक पोस्ट पढ़ना`}),_jsx(_components.td,{children:`~$0.005 प्रति read`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`User lookup`}),_jsx(_components.td,{children:`~$0.01 प्रति lookup`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`एक DM भेजना`}),_jsx(_components.td,{children:`~$0.01 प्रति संदेश`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`DM events पढ़ना`}),_jsx(_components.td,{children:`~$0.01 प्रति event`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`User interactions (follow, like, आदि)`}),_jsx(_components.td,{children:`~$0.015 प्रति अनुरोध`})]})]})]}),`\n`,_jsx(_components.p,{children:`संदर्भ के लिए, यदि आप प्रति माह लगभग 100 बार पोस्ट कर रहे हैं, तो आपकी direct X लागत लगभग $1 होगी, और media वाले पोस्ट प्रति माह लगभग $2 होंगे।`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`X की pay-per-use pricing वर्तमान में एक pilot चरण में है। दरें परिवर्तन के अधीन हैं, और अतिरिक्त लागतें पेश की जा सकती हैं। सबसे वर्तमान pricing के लिए हमेशा Developer Console की जाँच करें। `,_jsx(_components.a,{href:`https://docs.x.com/x-api/fundamentals/pricing`,children:`X’s pricing information breakdown`}),` देखें।`]})}),`\n`,_jsx(_components.p,{children:`हम जानते हैं कि यह एक ऐसी लागत पेश करता है जो पहले मौजूद नहीं थी, और हम इसके बारे में पारदर्शी होना चाहते हैं। साथ ही, यह मॉडल कई लाभों को भी unlock करता है जो पिछले shared-key setup के तहत संभव नहीं थे।`}),`\n`,_jsx(Heading,{level:`2`,id:`अपनी-स्वयं-की-x-api-key-का-उपयोग-करने-के-लाभ`,children:`अपनी स्वयं की X API Key का उपयोग करने के लाभ`}),`\n`,_jsx(_components.p,{children:`अपनी स्वयं की X API credentials का उपयोग करना पिछले shared-key मॉडल की तुलना में अधिक नियंत्रण और विश्वसनीयता प्रदान करता है। इसमें शामिल हैं:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Branded OAuth अनुभव:`}),` X पहुँच को अधिकृत करते समय उपयोगकर्ता आपका app नाम और branding देखते हैं।`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`समर्पित rate limits:`}),` आपका API उपयोग आपके स्वयं के X Developer account सीमाओं द्वारा governed है, अन्य Ayrshare उपयोगकर्ताओं से अलग। आप `,_jsx(_components.a,{href:`https://console.x.com`,children:`X Developer Console`}),` में अपने उपयोग की निगरानी कर सकते हैं और `,_jsx(_components.a,{href:`https://developer.x.com/en/docs/x-api/rate-limits`,children:`X API rate limits documentation`}),` की समीक्षा कर सकते हैं।`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`क्रेडेंशियल पर नियंत्रण:`}),` आपकी API Key और Secret आपके ही X Developer अकाउंट में रहती हैं। अनुरोध हेडर में भेजी गई कुंजियाँ Ayrshare संग्रहित नहीं करता। लिंकिंग URL बनाना इसका एकमात्र अपवाद है, जिसे नीचे सुरक्षा अनुभाग में समझाया गया है।`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Portability:`}),` चूँकि उपयोगकर्ता आपके X App के साथ authenticate करते हैं, इसलिए आपका integration पूरी तरह से आपके नियंत्रण में रहता है।`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Usage दृश्यता:`}),` आपका X Developer dashboard API अनुरोध, rate limits, और credit उपयोग दिखाता है।`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`X इस मॉडल की आवश्यकता वाला पहला प्लेटफ़ॉर्म है, लेकिन अधिक प्लेटफ़ॉर्म “अपनी स्वयं की API key लाओ” की ओर बढ़ रहे हैं। हम इस क्षमता का विस्तार पूरे Ayrshare में कर रहे हैं, इसलिए developers के पास सभी सोशल प्लेटफ़ॉर्म पर समान नियंत्रण और स्वतंत्रता होगी।`}),`\n`,_jsx(Heading,{level:`2`,id:`सुरक्षा`,children:`सुरक्षा`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`अनुरोध हेडर में आप जो API Key और API Secret भेजते हैं, वे केवल उसी अनुरोध के लिए इस्तेमाल होते हैं और Ayrshare उन्हें संग्रहित नहीं करता।`}),`\n`,_jsxs(_components.li,{children:[`लिंकिंग URL बनाना अपवाद है। जब आप `,_jsx(_components.code,{children:`twitterApiKey`}),` और `,_jsx(_components.code,{children:`twitterApiSecret`}),` को `,_jsx(_components.a,{href:`/apis/profiles/generate-jwt`,children:_jsx(_components.code,{children:`POST /profiles/generateJWT`})}),` या `,_jsx(_components.a,{href:`/apis/profiles/create-link-session`,children:_jsx(_components.code,{children:`POST /profiles/link-sessions`})}),` को भेजते हैं, तो यह जोड़ी एन्क्रिप्ट करके उस लिंकिंग सेशन के साथ संग्रहित की जाती है, क्योंकि थोड़ी देर बाद जब आपका उपयोगकर्ता X को अनुमति देता है तब लिंकिंग पेज को इसकी ज़रूरत होती है। यह तब हटा दी जाती है जब आप `,_jsx(_components.a,{href:`/apis/profiles/revoke-link-session`,children:`लिंक रद्द करते हैं`}),`, या जब कोई समाप्त हो चुका लिंक अगली बार खोला या जाँचा जाता है, और किसी भी स्थिति में 30 दिनों के भीतर सेशन रिकॉर्ड के साथ मिटा दी जाती है।`]}),`\n`,_jsxs(_components.li,{children:[`सामान्य सुरक्षा सर्वोत्तम प्रथाओं के लिए `,_jsx(_components.a,{href:`https://docs.x.com/resources/fundamentals/authentication`,children:`X की प्रमाणीकरण सुरक्षा गाइड`}),` देखें।`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`faq`,children:`FAQ`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`क्या मुझे हर customer / sub-profile के लिए इसे सेट करना होगा?`,id:`customer-sub-profile`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`नहीं।`}),` आप अपने स्वयं के X account के तहत `,_jsx(_components.strong,{children:`एक`}),` X Developer App सेट करते हैं, और वही `,_jsx(_components.strong,{children:`API Key + API Secret`}),` आपके Ayrshare account के तहत लिंक किए गए हर sub-profile / end-user के लिए पुन: उपयोग की जाती हैं।`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`आप X Developer App `,_jsx(_components.strong,{children:`एक बार`}),` बनाते हैं।`]}),`\n`,_jsxs(_components.li,{children:[`आप हर Ayrshare API call पर वही दो headers (`,_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Key`}),` और `,_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Secret`}),`) पास करते हैं, चाहे call किस sub-profile के लिए हो।`]}),`\n`,_jsxs(_components.li,{children:[`आपके end-users अभी भी प्रत्येक अपने स्वयं के X account को authorize करने के लिए OAuth linking flow के माध्यम से जाते हैं, लेकिन उन्हें अपने स्वयं के X Developer App या API keys की `,_jsx(_components.strong,{children:`आवश्यकता नहीं`}),` है। वे आपके app के माध्यम से कनेक्ट होते हैं।`]}),`\n`,_jsx(_components.li,{children:`सभी sub-profiles एक ही X Developer account, समान rate limits, और समान credit balance साझा करते हैं।`}),`\n`]}),_jsxs(_components.p,{children:[`एकमात्र समय जब आप keys को प्रति-profile handle करते हैं, वह migration के दौरान `,_jsx(_components.a,{href:`/apis/profiles/generate-jwt`,children:`generateJWT`}),` body में होता है, जो अभी भी आपकी वही दो keys हैं, बस linking पेज पर वितरित की जाती हैं ताकि end-users आपके app के तहत फिर से authorize कर सकें।`]})]}),_jsx(Accordion,{title:`क्या X API key की आवश्यकता अभी सक्रिय है?`,id:`x-api-key`,children:_jsx(_components.p,{children:`हाँ। 31 मार्च, 2026 से, Ayrshare के माध्यम से सभी X operations के लिए आपकी स्वयं की X API credentials आवश्यक हैं। यदि आपने अभी तक अपना X Developer account सेट नहीं किया है, तो ऊपर दिए गए चरणों का पालन करें।`})}),_jsx(Accordion,{title:`यदि मैं Ayrshare में अपनी X API key नहीं जोड़ता हूँ तो क्या होगा?`,id:`ayrshare-x-api-key`,children:_jsx(_components.p,{children:`Ayrshare के माध्यम से X पर पोस्ट करने के लिए आपकी स्वयं की X API credentials आवश्यक हैं। वैध BYO credentials के बिना अनुरोध अस्वीकार कर दिए जाते हैं। अन्य प्लेटफ़ॉर्म्स (Instagram, LinkedIn, Facebook, TikTok, आदि) पर पोस्ट करना अप्रभावित है।`})}),_jsx(Accordion,{title:`X API की लागत कितनी है?`,id:`x-api`,children:_jsxs(_components.p,{children:[`X प्रति API call शुल्क लेता है। एक पोस्ट बनाने की लागत लगभग $0.01 है, और एक पोस्ट पढ़ने की लागत लगभग $0.005 है। उदाहरण के लिए, प्रति माह 100 पोस्ट प्रकाशित करने की लागत लगभग $1 होगी। पूर्ण विवरण के लिए `,_jsx(_components.a,{href:`https://docs.x.com/x-api/fundamentals/pricing`,children:`X’s pricing page`}),` देखें।`]})}),_jsx(Accordion,{title:`क्या यह मेरे Ayrshare subscription मूल्य को बदलता है?`,id:`ayrshare-subscription`,children:_jsx(_components.p,{children:`नहीं। आपका Ayrshare subscription मूल्य वही रहता है। एकमात्र अतिरिक्त लागत X API उपयोग शुल्क है जो X द्वारा आपके developer account के माध्यम से सीधे बिल किया जाता है।`})}),_jsx(Accordion,{title:`क्या Ayrshare मेरी X API credentials को store करता है?`,id:`ayrshare-x-api-credentials-store`,children:_jsxs(_components.p,{children:[`सामान्य API अनुरोधों के लिए नहीं: हेडर में आप जो API Key और API Secret भेजते हैं, वे केवल उसी अनुरोध के लिए इस्तेमाल होते हैं और संग्रहित नहीं किए जाते। लिंकिंग URL बनाना अपवाद है, क्योंकि जब आपका उपयोगकर्ता X को अनुमति देता है तब लिंकिंग पेज को इस जोड़ी की ज़रूरत होती है। वहाँ यह एन्क्रिप्ट करके लिंकिंग सेशन के साथ संग्रहित की जाती है, और फिर तब हटा दी जाती है जब आप `,_jsx(_components.a,{href:`/apis/profiles/revoke-link-session`,children:`लिंक रद्द करते हैं`}),`, जब कोई समाप्त हो चुका लिंक अगली बार खोला या जाँचा जाता है, या 30 दिनों के भीतर सेशन रिकॉर्ड के साथ। ऊपर सुरक्षा अनुभाग देखें, और सामान्य प्रथाओं के लिए `,_jsx(_components.a,{href:`https://docs.x.com/resources/fundamentals/authentication`,children:`X की प्रमाणीकरण सुरक्षा गाइड`}),` देखें।`]})}),_jsxs(Accordion,{title:`मेरे पास पहले से ही एक X Developer account है। क्या मैं अपनी मौजूदा key का उपयोग कर सकता हूँ?`,id:`x-developer-account-key`,children:[_jsx(_components.p,{children:`हाँ। आप अपने मौजूदा X App का उपयोग कर सकते हैं जब तक कि इसमें “Read and write” अनुमतियाँ सक्षम हों (और यदि आप DM सुविधाओं का उपयोग करते हैं तो Direct Messages)।`}),_jsx(_components.p,{children:`आपको X Developer Console के Keys and tokens अनुभाग से अपनी API Key (Consumer Key) और API Secret (Consumer Secret) की आवश्यकता होगी। OAuth के माध्यम से अपने X account को लिंक करें, फिर अपने Ayrshare API अनुरोधों में इन 2 headers को शामिल करें।`}),_jsx(_components.p,{children:`यदि आपने प्रारंभिक setup के बाद से अपनी app permissions बदली हैं, तो अपने X account को फिर से लिंक करें ताकि Access Token अद्यतन अनुमतियों को inherit कर सके।`})]}),_jsx(Accordion,{title:`X Developer Portal कई credentials दिखाता है। मुझे वास्तव में किनकी आवश्यकता है?`,id:`x-developer-portal-credentials`,children:_jsxs(_components.p,{children:[`आपको अपनी API Key (Consumer Key) और API Secret (Consumer Secret) की आवश्यकता है। ऊपर `,_jsx(_components.a,{href:`#header-reference`,children:`header reference table`}),` देखें कि प्रत्येक Ayrshare header से किस पर mapping है। आप Client ID, Client Secret, Bearer Token, Access Token, और Access Token Secret को अनदेखा कर सकते हैं।`]})}),_jsxs(Accordion,{title:`'API Key' और 'Client ID' के बीच क्या अंतर है?`,id:`api-key-client-id`,children:[_jsx(_components.p,{children:`वे विभिन्न authentication methods के लिए पूरी तरह से अलग credentials हैं:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Key`}),` (जिसे “Consumer Key” भी कहा जाता है) OAuth 1.0a के लिए है। API Key (Consumer Key) + API Secret वही है जिसका Ayrshare उपयोग करता है। यह सभी X सुविधाओं के साथ काम करता है, tokens कभी expire नहीं होते, और कोई refresh logic आवश्यक नहीं है।`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Client ID`}),` OAuth 2.0 के लिए है। आपको Ayrshare के लिए इसकी आवश्यकता नहीं है। OAuth 2.0 tokens थोड़े समय बाद expire हो जाते हैं और refresh token प्रबंधन की आवश्यकता होती है।`]}),`\n`]}),_jsx(_components.p,{children:`Ayrshare के लिए, आपको केवल अपनी API Key और API Secret की आवश्यकता है। आप Client ID, Client Secret, और Bearer Token को अनदेखा कर सकते हैं।`})]}),_jsx(Accordion,{title:`OAuth 1.0a क्यों और OAuth 2.0 क्यों नहीं?`,id:`oauth-1-0a-oauth-2-0`,children:_jsx(_components.p,{children:`OAuth 2.0 access tokens हर 2 घंटे में expire होते हैं और X के refresh tokens single-use होते हैं (प्रत्येक refresh पुराने token को अमान्य कर देता है)। यह stateless BYO मॉडल का समर्थन करना असंभव बनाता है, विशेष रूप से scheduled posts के लिए। OAuth 1.0a tokens कभी expire नहीं होते, सभी X सुविधाओं के साथ काम करते हैं, और शून्य token प्रबंधन की आवश्यकता होती है।`})}),_jsx(Accordion,{title:`क्या मेरे मौजूदा उपयोगकर्ताओं को अपने X accounts को फिर से लिंक करने की आवश्यकता है?`,id:`x-accounts`,children:_jsxs(_components.p,{children:[`हाँ। यदि आपके उपयोगकर्ताओं ने BYO keys सेट करने से पहले Ayrshare के माध्यम से X को लिंक किया था, तो उन्हें फिर से कनेक्ट करना होगा। मौजूदा access tokens Ayrshare के X app के तहत जारी किए गए थे और आपकी consumer keys के साथ काम नहीं करेंगे। चरण-दर-चरण प्रक्रिया के लिए ऊपर `,_jsx(_components.a,{href:`#migrating-existing-profiles-business--enterprise`,children:`मौजूदा Profiles को Migrate करना`}),` देखें।`]})}),_jsx(Accordion,{title:`क्या यह परिवर्तन Instagram, LinkedIn, या अन्य प्लेटफ़ॉर्म्स पर पोस्ट करने को प्रभावित करता है?`,id:`instagram-linkedin`,children:_jsx(_components.p,{children:`नहीं। यह परिवर्तन केवल X पर पोस्ट करने को प्रभावित करता है। Ayrshare में अन्य सभी प्लेटफ़ॉर्म integrations हमेशा की तरह काम करना जारी रखते हैं।`})}),_jsxs(Accordion,{title:`X पर RSS/Feed auto-posting के बारे में क्या?`,id:`x-rss-feed-auto-posting`,children:[_jsx(_components.p,{children:`X पर RSS auto-posting अब समर्थित नहीं है। RSS feeds स्वचालित रूप से एक schedule पर चलते हैं, लेकिन bring-your-own API key मॉडल को प्रत्येक API अनुरोध के साथ credentials प्रदान करने की आवश्यकता होती है। इसके कारण, RSS feeds पोस्ट भेजे जाने पर authenticate नहीं कर सकते।`}),_jsxs(_components.p,{children:[`यदि आपने पहले X पर पोस्ट करने के लिए RSS का उपयोग किया है, तो हम `,_jsx(_components.a,{href:`/apis/post/overview#schedule-posts`,children:`scheduled posts`}),` या आपकी credentials शामिल करने वाले direct API calls पर switch करने की अनुशंसा करते हैं। अन्य सभी प्लेटफ़ॉर्म्स पर RSS auto-posting अपरिवर्तित है।`]})]}),_jsx(Accordion,{title:`मुझे 402 \"CreditsDepleted\" error क्यों मिल रहा है?`,id:`402-creditsdepleted-error`,children:_jsxs(_components.p,{children:[`इसका मतलब है कि आपके X Developer account में कोई API credits उपलब्ध नहीं हैं। `,_jsx(_components.a,{href:`https://console.x.com`,children:`console.x.com`}),` → `,_jsx(_components.strong,{children:`Billing → Credits`}),` पर जाएँ और credits खरीदें। यहाँ तक कि $5 भी सैकड़ों API calls के लिए पर्याप्त हैं। एक बार credits लोड होने के बाद, अपना अनुरोध पुन: प्रयास करें।`]})}),_jsxs(Accordion,{title:`मुझे 403 \"Forbidden: OAuth1 App Permissions\" error क्यों मिल रहा है?`,id:`403-forbidden-oauth1-app-permissions-error`,children:[_jsx(_components.p,{children:`आपके Access Token में सही अनुमतियाँ नहीं हैं। यह आमतौर पर दो चीजों में से एक का मतलब है:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`आपकी app permissions “Read” पर सेट हैं “Read and write” नहीं।`}),` Developer Console में अपने app की Settings पर जाएँ और इसे `,_jsx(_components.strong,{children:`Read and write and Direct message`}),` में बदलें।`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`आपने अपने X account को लिंक करने के बाद अनुमतियाँ बदल दीं।`}),` Access Tokens उन अनुमतियों को रखते हैं जिनके साथ वे बनाए गए थे। OAuth के माध्यम से अपने X account को फिर से लिंक करें ताकि नया token अद्यतन अनुमतियों को inherit कर सके।`]}),`\n`]})]}),_jsx(Accordion,{title:`यदि मुझे इसे सेट करने में मदद चाहिए तो क्या?`,id:`%E0%A4%B9%E0%A4%AE%E0%A4%BE%E0%A4%B0%E0%A5%80-support-%E0%A4%9F%E0%A5%80%E0%A4%AE-%E0%A4%AE%E0%A4%A6%E0%A4%A6-%E0%A4%95%E0%A4%B0%E0%A4%A8%E0%A5%87-%E0%A4%AE%E0%A5%87%E0%A4%82-%E0%A4%96%E0%A5%81%E0%A4%B6-%E0%A4%B9%E0%A5%88%E0%A5%A4-%E0%A4%AF%E0%A4%A6%E0%A4%BF-%E0%A4%B8%E0%A5%87%E0%A4%9F%E0%A4%85%E0%A4%AA-%E0%A4%95%E0%A5%87-%E0%A4%A6%E0%A5%8C%E0%A4%B0%E0%A4%BE%E0%A4%A8-%E0%A4%86%E0%A4%AA%E0%A4%95%E0%A5%87-%E0%A4%AA%E0%A4%BE%E0%A4%B8-%E0%A4%95%E0%A5%8B%E0%A4%88-%E0%A4%AA%E0%A5%8D%E0%A4%B0%E0%A4%B6%E0%A5%8D%E0%A4%A8-%E0%A4%B9%E0%A5%88-%E0%A4%AF%E0%A4%BE-%E0%A4%B8%E0%A4%AE%E0%A4%B8%E0%A5%8D%E0%A4%AF%E0%A4%BE%E0%A4%93%E0%A4%82-%E0%A4%95%E0%A4%BE-%E0%A4%B8%E0%A4%BE%E0%A4%AE%E0%A4%A8%E0%A4%BE-%E0%A4%95%E0%A4%B0%E0%A4%A4%E0%A5%87-%E0%A4%B9%E0%A5%88%E0%A4%82%2C-%E0%A4%A4%E0%A5%8B-%E0%A4%95%E0%A5%83%E0%A4%AA%E0%A4%AF%E0%A4%BE-support%40ayrshare.com-%E0%A4%95%E0%A5%87-%E0%A4%AE%E0%A4%BE%E0%A4%A7%E0%A5%8D%E0%A4%AF%E0%A4%AE-%E0%A4%B8%E0%A5%87-%E0%A4%B8%E0%A4%82%E0%A4%AA%E0%A4%B0%E0%A5%8D%E0%A4%95-%E0%A4%95%E0%A4%B0%E0%A5%87%E0%A4%82%2C-%E0%A4%94%E0%A4%B0-%E0%A4%B9%E0%A4%AE-%E0%A4%86%E0%A4%AA%E0%A4%95%E0%A5%8B-%E0%A4%AA%E0%A5%8D%E0%A4%B0%E0%A4%95%E0%A5%8D%E0%A4%B0%E0%A4%BF%E0%A4%AF%E0%A4%BE-%E0%A4%95%E0%A5%87-%E0%A4%AE%E0%A4%BE%E0%A4%A7%E0%A5%8D%E0%A4%AF%E0%A4%AE-%E0%A4%B8%E0%A5%87-%E0%A4%9A%E0%A4%B2%E0%A5%87%E0%A4%82%E0%A4%97%E0%A5%87%E0%A5%A4`,children:_jsxs(_components.p,{children:[`हमारी support टीम मदद करने में खुश है। यदि सेटअप के दौरान आपके पास कोई प्रश्न है या समस्याओं का सामना करते हैं, तो कृपया `,_jsx(_components.a,{href:`mailto:support@ayrshare.com`,children:`support@ayrshare.com`}),` के माध्यम से संपर्क करें, और हम आपको प्रक्रिया के माध्यम से चलेंगे।`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`मुझे गायब headers के बारे में 400 error मिल रहा है`,id:`headers-400-error`,children:[_jsx(_components.p,{children:`सुनिश्चित करें कि आप दोनों आवश्यक headers भेज रहे हैं:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Key`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Secret`})}),`\n`]}),_jsx(_components.p,{children:`यदि आप pair-mismatch error देखते हैं (जैसे, “You provided Api-Key but not Api-Secret”), तो इसका मतलब है कि दोनों में से एक गायब है। दोनों हमेशा आवश्यक हैं।`}),_jsx(_components.p,{children:`Error संदेश आपको बताएगा कि कौन सा विशिष्ट header गायब है।`})]}),_jsxs(Accordion,{title:`मुझे 403 error मिल रहा है: \"Callback URL not approved\"`,children:[_jsx(_components.p,{children:`यदि आप अपने X account को लिंक करने का प्रयास करते समय यह error देखते हैं, तो सुनिश्चित करें कि आपने अपनी X Developer App settings (Authentication settings > Callback URI / Redirect URL के तहत) में आवश्यक callback URLs जोड़े हैं:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`https://profile.ayrshare.com/social-accounts`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`https://app.ayrshare.com/social-accounts`})}),`\n`]}),_jsxs(_components.p,{children:[`ऊपर `,_jsx(_components.a,{href:`#step-3-configure-app-permissions`,children:`Callback URL setup step`}),` देखें।`]})]}),_jsx(Accordion,{title:`मुझे 402 error मिल रहा है: \"CreditsDepleted\"`,children:_jsxs(_components.p,{children:[`आपके X Developer account में कोई API credits लोड नहीं हैं। `,_jsx(_components.a,{href:`https://console.x.com`,children:`console.x.com`}),` → `,_jsx(_components.strong,{children:`Billing → Credits`}),` पर जाएँ और credits खरीदें। यहाँ तक कि $5 भी सैकड़ों API calls के लिए पर्याप्त हैं।`]})}),_jsxs(Accordion,{title:`मुझे 403 error मिल रहा है: \"oauth1 app permissions\"`,children:[_jsx(_components.p,{children:`आपके Access Token में सही अनुमतियाँ नहीं हैं। इसका आमतौर पर मतलब है:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`आपकी app permissions “Read” पर सेट हैं “Read and write” नहीं।`}),` Developer Console में अपने app की Settings पर जाएँ और इसे `,_jsx(_components.strong,{children:`Read and write and Direct message`}),` में बदलें।`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`आपने अपने X account को लिंक करने के बाद अनुमतियाँ बदल दीं।`}),` Access Tokens उन अनुमतियों को रखते हैं जिनके साथ वे बनाए गए थे। OAuth के माध्यम से अपने X account को फिर से लिंक करें ताकि नया token अद्यतन अनुमतियों को inherit कर सके।`]}),`\n`]})]}),_jsxs(Accordion,{title:`मुझे 403 error मिल रहा है: \"Client Forbidden\" (client-not-enrolled)`,children:[_jsxs(_components.p,{children:[`आपकी X app X API v2 के लिए enrolled नहीं है। यह तब होता है जब app `,_jsx(_components.strong,{children:`Standalone`}),` package में होती है।`]}),_jsxs(_components.p,{children:[`X Developer Console में, app को `,_jsx(_components.strong,{children:`Standalone`}),` से `,_jsx(_components.strong,{children:`Pay-per-use`}),` package (`,_jsx(_components.strong,{children:`Production`}),` environment) में ले जाएँ, फिर अपना X account दोबारा लिंक करें। ऊपर `,_jsx(_components.a,{href:`#step-2-create-an-app`,children:`चरण 2: एक App बनाएँ`}),` देखें।`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`सहायता-चाहिए`,children:`सहायता चाहिए?`}),`\n`,_jsxs(_components.p,{children:[`यदि आपके पास अपनी X API key सेट करते समय कोई प्रश्न हैं या समस्याओं का सामना करते हैं, तो हमारी engineering टीम मदद करने में खुश है। आप किसी भी समय `,_jsx(_components.a,{href:`mailto:support@ayrshare.com`,children:`support@ayrshare.com`}),` पर हमसे संपर्क कर सकते हैं।`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"अपनी स्वयं की X API Key सेट करें","description":"अपने स्वयं के X (Twitter) API credentials को Ayrshare के साथ जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका","icon":"x-twitter","href":"/hi/dashboard/connect-social-accounts/x-twitter-byo-keys"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"चरण 1: अपना X Developer Account बनाएँ","slug":"चरण-1-अपना-x-developer-account-बनाएँ","depth":2,"children":[]},{"title":"चरण 2: एक App बनाएँ","slug":"step-2-create-an-app","depth":2,"children":[]},{"title":"चरण 3: App अनुमतियाँ कॉन्फ़िगर करें","slug":"step-3-configure-app-permissions","depth":2,"children":[]},{"title":"चरण 4: X API Credits खरीदें","slug":"चरण-4-x-api-credits-खरीदें","depth":2,"children":[]},{"title":"चरण 5: अपने Ayrshare API Calls अद्यतन करें","slug":"चरण-5-अपने-ayrshare-api-calls-अद्यतन-करें","depth":2,"children":[{"title":"Header संदर्भ","slug":"header-reference","depth":3,"children":[]},{"title":"Code उदाहरण","slug":"code-उदाहरण","depth":3,"children":[]},{"title":"मौजूदा Profiles को Migrate करना (Business और Enterprise)","slug":"migrating-existing-profiles-business--enterprise","depth":3,"children":[]},{"title":"अपने Setup को सत्यापित करें","slug":"अपने-setup-को-सत्यापित-करें","depth":3,"children":[]}]},{"title":"X API Pricing कैसे काम करता है","slug":"how-x-api-pricing-works","depth":2,"children":[]},{"title":"अपनी स्वयं की X API Key का उपयोग करने के लाभ","slug":"अपनी-स्वयं-की-x-api-key-का-उपयोग-करने-के-लाभ","depth":2,"children":[]},{"title":"सुरक्षा","slug":"सुरक्षा","depth":2,"children":[]},{"title":"FAQ","slug":"faq","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"सहायता चाहिए?","slug":"सहायता-चाहिए","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/ayrshare-docs/80ea29d8530ebaa2/script.js","/docs/_mintlify/custom/ayrshare-docs/3e93073b19ca64e9/tools/maintainScroll.js"],"subdomain":"ayrshare-docs","siteName":"Ayrshare Docs","title":"अपनी स्वयं की X API Key सेट करें - Ayrshare Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1},"es":{"href":"/es/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1},"cn":{"href":"/cn/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1,"hidden":true},"zh":{"href":"/zh/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1,"hidden":true},"pt-BR":{"href":"/pt-BR/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1},"fr":{"href":"/fr/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1},"de":{"href":"/de/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1},"vi":{"href":"/vi/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1},"ja":{"href":"/ja/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1},"uk":{"href":"/uk/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1},"hi":{"href":"/hi/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":0},"ar":{"href":"/ar/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1},"zh-Hans":{"href":"/zh-Hans/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1},"zh-Hant":{"href":"/zh-Hant/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1}}},"lastModified":"2026-11-23T12:46:02.046Z","originalFileLocation":"hi/dashboard/connect-social-accounts/x-twitter-byo-keys.mdx","locale":"hi"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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 (Twitter) API credentials को Ayrshare के साथ जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_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=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"अपनी स्वयं की X API Key सेट करें - Ayrshare Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"अपने स्वयं के X (Twitter) API credentials को Ayrshare के साथ जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.ayrshare.com/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ayrshare-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Connect+Social+Accounts\u0026amp;title=%E0%A4%85%E0%A4%AA%E0%A4%A8%E0%A5%80+%E0%A4%B8%E0%A5%8D%E0%A4%B5%E0%A4%AF%E0%A4%82+%E0%A4%95%E0%A5%80+X+API+Key+%E0%A4%B8%E0%A5%87%E0%A4%9F+%E0%A4%95%E0%A4%B0%E0%A5%87%E0%A4%82\u0026amp;description=%E0%A4%85%E0%A4%AA%E0%A4%A8%E0%A5%87+%E0%A4%B8%E0%A5%8D%E0%A4%B5%E0%A4%AF%E0%A4%82+%E0%A4%95%E0%A5%87+X+%28Twitter%29+API+credentials+%E0%A4%95%E0%A5%8B+Ayrshare+%E0%A4%95%E0%A5%87+%E0%A4%B8%E0%A4%BE%E0%A4%A5+%E0%A4%9C%E0%A5%8B%E0%A4%A1%E0%A4%BC%E0%A4%A8%E0%A5%87+%E0%A4%95%E0%A5%87+%E0%A4%B2%E0%A4%BF%E0%A4%8F+%E0%A4%9A%E0%A4%B0%E0%A4%A3-%E0%A4%A6%E0%A4%B0-%E0%A4%9A%E0%A4%B0%E0%A4%A3+%E0%A4%AE%E0%A4%BE%E0%A4%B0%E0%A5%8D%E0%A4%97%E0%A4%A6%E0%A4%B0%E0%A5%8D%E0%A4%B6%E0%A4%BF%E0%A4%95%E0%A4%BE\u0026amp;theme=722a7095c53b95fd5a0669f2\u0026amp;signature=8937b867e1c54d9c77b132261c830e0801000ec0a078c58d019304d4294414e3\">\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 API Key सेट करें - Ayrshare Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"अपने स्वयं के X (Twitter) API credentials को Ayrshare के साथ जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ayrshare-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Connect+Social+Accounts\u0026amp;title=%E0%A4%85%E0%A4%AA%E0%A4%A8%E0%A5%80+%E0%A4%B8%E0%A5%8D%E0%A4%B5%E0%A4%AF%E0%A4%82+%E0%A4%95%E0%A5%80+X+API+Key+%E0%A4%B8%E0%A5%87%E0%A4%9F+%E0%A4%95%E0%A4%B0%E0%A5%87%E0%A4%82\u0026amp;description=%E0%A4%85%E0%A4%AA%E0%A4%A8%E0%A5%87+%E0%A4%B8%E0%A5%8D%E0%A4%B5%E0%A4%AF%E0%A4%82+%E0%A4%95%E0%A5%87+X+%28Twitter%29+API+credentials+%E0%A4%95%E0%A5%8B+Ayrshare+%E0%A4%95%E0%A5%87+%E0%A4%B8%E0%A4%BE%E0%A4%A5+%E0%A4%9C%E0%A5%8B%E0%A4%A1%E0%A4%BC%E0%A4%A8%E0%A5%87+%E0%A4%95%E0%A5%87+%E0%A4%B2%E0%A4%BF%E0%A4%8F+%E0%A4%9A%E0%A4%B0%E0%A4%A3-%E0%A4%A6%E0%A4%B0-%E0%A4%9A%E0%A4%B0%E0%A4%A3+%E0%A4%AE%E0%A4%BE%E0%A4%B0%E0%A5%8D%E0%A4%97%E0%A4%A6%E0%A4%B0%E0%A5%8D%E0%A4%B6%E0%A4%BF%E0%A4%95%E0%A4%BE\u0026amp;theme=722a7095c53b95fd5a0669f2\u0026amp;signature=8937b867e1c54d9c77b132261c830e0801000ec0a078c58d019304d4294414e3\">\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=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2266C2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.ayrshare.com/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://www.ayrshare.com/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://www.ayrshare.com/docs/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://www.ayrshare.com/docs/es/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://www.ayrshare.com/docs/pt-BR/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://www.ayrshare.com/docs/fr/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://www.ayrshare.com/docs/de/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"vi\" href=\"https://www.ayrshare.com/docs/vi/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://www.ayrshare.com/docs/ja/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"uk\" href=\"https://www.ayrshare.com/docs/uk/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://www.ayrshare.com/docs/ar/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://www.ayrshare.com/docs/zh-Hans/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://www.ayrshare.com/docs/zh-Hant/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.ayrshare.com/docs/dashboard/connect-social-accounts/x-twitter-byo-keys\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.ayrshare.com/#organization\",\"name\":\"Ayrshare Docs\",\"url\":\"https://www.ayrshare.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ayrshare-docs/7bWzjvNjeuvs-M3N/images/logos/ayrshare-docs-logo-light.svg?fit=max\u0026auto=format\u0026n=7bWzjvNjeuvs-M3N\u0026q=85\u0026s=8d23367f493d06599eecbbfa2b6325cf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.ayrshare.com/docs#website\",\"name\":\"Ayrshare Docs\",\"url\":\"https://www.ayrshare.com/docs\",\"publisher\":{\"@id\":\"https://www.ayrshare.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.ayrshare.com/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys#webpage\",\"url\":\"https://www.ayrshare.com/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys\",\"name\":\"अपनी स्वयं की X API Key सेट करें\",\"description\":\"अपने स्वयं के X (Twitter) API credentials को Ayrshare के साथ जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका\",\"dateModified\":\"2026-11-23T12:46:02.046Z\",\"isPartOf\":{\"@id\":\"https://www.ayrshare.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.ayrshare.com/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.ayrshare.com/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Dashboard\",\"item\":\"https://www.ayrshare.com/docs/hi/dashboard/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connect Social Accounts\",\"item\":\"https://www.ayrshare.com/docs/hi/dashboard/connect-social-accounts/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"अपनी स्वयं की X API Key सेट करें\",\"item\":\"https://www.ayrshare.com/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.ayrshare.com/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys#article\",\"headline\":\"अपनी स्वयं की X API Key सेट करें\",\"name\":\"अपनी स्वयं की X API Key सेट करें\",\"description\":\"अपने स्वयं के X (Twitter) API credentials को Ayrshare के साथ जोड़ने के लिए चरण-दर-चरण मार्गदर्शिका\",\"url\":\"https://www.ayrshare.com/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys\",\"mainEntityOfPage\":{\"@id\":\"https://www.ayrshare.com/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys#webpage\"},\"dateModified\":\"2026-11-23T12:46:02.046Z\",\"publisher\":{\"@id\":\"https://www.ayrshare.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.ayrshare.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ayrshare Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ayrshare Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/hi/dashboard/connect-social-accounts/x-twitter-byo-keys.md","siteName":"Ayrshare Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/dashboard/connect-social-accounts/x-twitter-byo-keys"}]},{"language":"es","pages":[{"title":"es","href":"/es/dashboard/connect-social-accounts/x-twitter-byo-keys"}]},{"language":"cn","hidden":true,"pages":[{"title":"cn","href":"/cn/dashboard/connect-social-accounts/x-twitter-byo-keys","hidden":true}]},{"language":"zh","hidden":true,"pages":[{"title":"zh","href":"/zh/dashboard/connect-social-accounts/x-twitter-byo-keys","hidden":true}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/dashboard/connect-social-accounts/x-twitter-byo-keys"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/dashboard/connect-social-accounts/x-twitter-byo-keys"}]},{"language":"de","pages":[{"title":"de","href":"/de/dashboard/connect-social-accounts/x-twitter-byo-keys"}]},{"language":"vi","pages":[{"title":"vi","href":"/vi/dashboard/connect-social-accounts/x-twitter-byo-keys"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/dashboard/connect-social-accounts/x-twitter-byo-keys"}]},{"language":"uk","pages":[{"title":"uk","href":"/uk/dashboard/connect-social-accounts/x-twitter-byo-keys"}]},{"language":"hi","anchors":[{"anchor":"Documentation","icon":"code","groups":[{"group":"Get Started","pages":[{"title":"Ayrshare सोशल मीडिया API","href":"/hi/introduction"},{"title":"क्विक स्टार्ट गाइड","href":"/hi/quickstart"},{"group":"MCP Server","pages":[{"title":"Ayrshare MCP Server: AI एजेंट्स के साथ API चलाएँ","sidebarTitle":"अवलोकन","icon":"robot","href":"/hi/additional/mcp-action-server"},{"title":"MCP सर्वर से कनेक्ट करें","sidebarTitle":"कनेक्ट और सेटअप","icon":"plug","href":"/hi/additional/mcp-action-connect"},{"title":"MCP टूल कैटलॉग","sidebarTitle":"टूल कैटलॉग","icon":"list","href":"/hi/additional/mcp-action-tools"},{"title":"Claude Code Plugin","icon":"terminal","href":"/hi/additional/mcp-claude-code-plugin"},{"title":"n8n","icon":"diagram-project","href":"/hi/additional/mcp-n8n"},{"title":"क्लाइंट सोशल अकाउंट्स को Onboard करें","sidebarTitle":"क्लाइंट Onboarding","icon":"user-plus","href":"/hi/additional/mcp-client-onboarding"},{"title":"Documentation MCP","sidebarTitle":"Documentation MCP","icon":"magnifying-glass","href":"/hi/additional/mcp-server"}]}]},{"group":"API Endpoints","pages":[{"title":"Ayrshare API अवलोकन","href":"/hi/apis/overview"},{"group":"GraphQL","pages":[{"title":"GraphQL API अवलोकन","href":"/hi/apis/graphql/overview"},{"title":"GraphQL API का उपयोग करना","href":"/hi/apis/graphql/using-the-api"},{"title":"GraphQL त्रुटियाँ","href":"/hi/apis/graphql/errors"},{"title":"GraphQL सीमाएँ और Billing","href":"/hi/apis/graphql/limits"},{"title":"Ads","href":"/hi/apis/graphql/ads"}]},{"group":"Ads","pages":[{"title":"Ads API: Meta पोस्ट बूस्ट करें और Google Ads प्रबंधित करें","sidebarTitle":"Ads API अवलोकन","href":"/hi/apis/ads/overview"},{"title":"विज्ञापन अभियान","href":"/hi/apis/ads/campaigns"},{"group":"Facebook Ads","pages":[{"title":"Accounts","api":"GET /ads/facebook/accounts","href":"/hi/apis/ads/facebook/get-ad-accounts"},{"title":"Campaigns","api":"GET /ads/facebook/campaigns","href":"/hi/apis/ads/facebook/get-ad-campaigns"},{"title":"Boost Post","api":"POST /ads/facebook/boost","href":"/hi/apis/ads/facebook/boost-post"},{"title":"Boosted Ads","api":"GET /ads/facebook/ads","href":"/hi/apis/ads/facebook/get-boosted-ads"},{"title":"इतिहास","api":"GET /ads/facebook/history","href":"/hi/apis/ads/facebook/get-ad-history"},{"title":"इनसाइट्स","api":"GET /ads/facebook/insights","href":"/hi/apis/ads/facebook/get-ad-insights"},{"title":"रुचियाँ","api":"GET /ads/facebook/interests","href":"/hi/apis/ads/facebook/get-ad-interests"},{"title":"Regions","api":"GET /ads/facebook/regions","href":"/hi/apis/ads/facebook/get-ad-regions"},{"title":"शहर","api":"GET /ads/facebook/cities","href":"/hi/apis/ads/facebook/get-ad-cities"},{"title":"DSA अनुशंसाएँ","api":"GET /ads/facebook/dsaRecommendations","href":"/hi/apis/ads/facebook/get-dsa-recommendations"},{"title":"विज्ञापन अपडेट करें","api":"PUT /ads/facebook/ads","href":"/hi/apis/ads/facebook/put-ad-update"},{"title":"Audiences","api":"GET /ads/facebook/audiences","href":"/hi/apis/ads/facebook/get-audiences"},{"title":"Audience बनाएँ","api":"POST /ads/facebook/audiences","href":"/hi/apis/ads/facebook/create-audience"},{"title":"Audience हटाएँ","api":"DELETE /ads/facebook/audiences/{id}","href":"/hi/apis/ads/facebook/delete-audience"},{"title":"Audience Members","api":"POST /ads/facebook/audiences/{id}/users","href":"/hi/apis/ads/facebook/audience-members"}]},{"group":"Instagram Ads","pages":[{"title":"Accounts","api":"GET /ads/instagram/accounts","href":"/hi/apis/ads/instagram/get-ad-accounts"},{"title":"Campaigns","api":"GET /ads/instagram/campaigns","href":"/hi/apis/ads/instagram/get-ad-campaigns"},{"title":"Regions","api":"GET /ads/instagram/regions","href":"/hi/apis/ads/instagram/get-ad-regions"},{"title":"शहर","api":"GET /ads/instagram/cities","href":"/hi/apis/ads/instagram/get-ad-cities"},{"title":"DSA अनुशंसाएँ","api":"GET /ads/instagram/dsaRecommendations","href":"/hi/apis/ads/instagram/get-dsa-recommendations"},{"title":"Boost Post","api":"POST /ads/instagram/boost","href":"/hi/apis/ads/instagram/boost-post"},{"title":"Boosted Ads","api":"GET /ads/instagram/ads","href":"/hi/apis/ads/instagram/get-boosted-ads"},{"title":"इतिहास","api":"GET /ads/instagram/history","href":"/hi/apis/ads/instagram/get-ad-history"},{"title":"इनसाइट्स","api":"GET /ads/instagram/insights","href":"/hi/apis/ads/instagram/get-ad-insights"},{"title":"रुचियाँ","api":"GET /ads/instagram/interests","href":"/hi/apis/ads/instagram/get-ad-interests"},{"title":"विज्ञापन अपडेट करें","api":"PUT /ads/instagram/ads","href":"/hi/apis/ads/instagram/put-ad-update"},{"title":"Audiences","api":"GET /ads/instagram/audiences","href":"/hi/apis/ads/instagram/get-audiences"},{"title":"Audience बनाएँ","api":"POST /ads/instagram/audiences","href":"/hi/apis/ads/instagram/create-audience"},{"title":"Audience हटाएँ","api":"DELETE /ads/instagram/audiences/{id}","href":"/hi/apis/ads/instagram/delete-audience"},{"title":"Audience Members","api":"POST /ads/instagram/audiences/{id}/users","href":"/hi/apis/ads/instagram/audience-members"}]},{"group":"Google Ads","pages":[{"title":"Accounts","api":"GET /ads/google/accounts","href":"/hi/apis/ads/google/get-ad-accounts"},{"title":"Google सर्च अभियान","sidebarTitle":"सर्च अभियान","api":"POST /ads/google/campaigns","href":"/hi/apis/ads/google/search-campaigns"},{"title":"Google Performance Max अभियान","sidebarTitle":"Performance Max अभियान","api":"POST /ads/google/campaigns","href":"/hi/apis/ads/google/performance-max-campaigns"},{"title":"अभियान प्राप्त करें","api":"GET /ads/google/campaigns/{id}","href":"/hi/apis/ads/google/get-campaign"},{"title":"अभियान अपडेट करें","api":"PUT /ads/google/campaigns/{id}","href":"/hi/apis/ads/google/update-campaign"},{"title":"इनसाइट्स","api":"GET /ads/google/insights","href":"/hi/apis/ads/google/get-ad-insights"}]},{"group":"TikTok Ads","pages":[{"title":"Boost Post","api":"POST /ads/tiktok/boost","href":"/hi/apis/ads/tiktok/boost"}]},{"group":"Boost on Behalf","pages":[{"title":"अपनी टीम की पोस्ट boost करें","href":"/hi/apis/ads/delegations/boost-on-behalf"},{"title":"Boost डेलिगेशन बनाएँ","api":"POST /ads/delegations","href":"/hi/apis/ads/delegations/create-delegations"},{"title":"Boost डेलिगेशन प्राप्त करें","api":"GET /ads/delegations","href":"/hi/apis/ads/delegations/get-delegations"},{"title":"Boost डेलिगेशन रद्द करें","api":"DELETE /ads/delegations/:id","href":"/hi/apis/ads/delegations/delete-delegation"}]}]},{"group":"Analytics","pages":[{"title":"Analytics API: पोस्ट, सोशल अकाउंट और लिंक मेट्रिक्स","sidebarTitle":"Analytics API अवलोकन","href":"/hi/apis/analytics/overview"},{"title":"पोस्ट पर एनालिटिक्स","api":"POST /analytics/post","href":"/hi/apis/analytics/post"},{"title":"Social ID द्वारा पोस्ट पर Analytics","api":"POST /analytics/post","href":"/hi/apis/analytics/social-by-id"},{"title":"एक सोशल नेटवर्क पर Analytics","api":"POST /analytics/social","href":"/hi/apis/analytics/social"},{"title":"YouTube Playlists","api":"GET /analytics/youTubePlaylists","href":"/hi/apis/analytics/youtube-playlists"},{"title":"ऑनलाइन Instagram फ़ॉलोअर्स की संख्या","api":"GET /analytics/getInstagramOnlineFollowers","href":"/hi/apis/analytics/instagram-follower-count"}]},{"group":"Auto Schedule","pages":[{"title":"Auto Schedule अवलोकन","href":"/hi/apis/auto-schedule/overview"},{"title":"ऑटो शेड्यूल सेट करें","api":"POST /auto-schedule/set","href":"/hi/apis/auto-schedule/set-schedule"},{"title":"Delete Auto Schedule","api":"DELETE /auto-schedule/delete","href":"/hi/apis/auto-schedule/delete-schedule"},{"title":"ऑटो शेड्यूल सूची","api":"GET /auto-schedule/list","href":"/hi/apis/auto-schedule/list-schedule"},{"title":"Pending Auto Schedule Posts प्राप्त करें","api":"GET /auto-schedule/pending","href":"/hi/apis/auto-schedule/pending-auto-schedule"}]},{"group":"Automations","tag":"BETA","pages":[{"title":"Automations API अवलोकन","href":"/hi/apis/automations/overview"},{"title":"Automation बनाएँ","api":"POST /automations","href":"/hi/apis/automations/create-automation"},{"title":"ऑटोमेशन सूची","api":"GET /automations","href":"/hi/apis/automations/list-automations"},{"title":"Automation प्राप्त करें","api":"GET /automations/:id","href":"/hi/apis/automations/get-automation"},{"title":"Update Automation","api":"PUT /automations/:id","href":"/hi/apis/automations/update-automation"},{"title":"ऑटोमेशन हटाएँ","api":"DELETE /automations/:id","href":"/hi/apis/automations/delete-automation"},{"title":"ऑटोमेशन गतिविधि प्राप्त करें","api":"GET /automations/:id/activity","href":"/hi/apis/automations/get-activity"}]},{"group":"Brand","pages":[{"title":"Brand API: सार्वजनिक खाता और प्रतिस्पर्धी डेटा","href":"/hi/apis/brand/overview"}]},{"group":"Comments","pages":[{"title":"Comments API अवलोकन","href":"/hi/apis/comments/overview"},{"title":"Post a Comment","api":"POST /comments","href":"/hi/apis/comments/post-comment"},{"title":"Get Comments","api":"GET /comments/:id","href":"/hi/apis/comments/get-comments"},{"title":"Delete Comments","api":"DELETE /comments/:id","href":"/hi/apis/comments/delete-comments"},{"title":"टिप्पणी का उत्तर दें","api":"POST /comments/reply/:commentId","href":"/hi/apis/comments/reply-to-comment"}]},{"group":"Feed","pages":[{"title":"RSS Feeds अवलोकन","href":"/hi/apis/feeds/overview"},{"title":"RSS फ़ीड जोड़ें","api":"POST /feed","href":"/hi/apis/feeds/add-feed"},{"title":"RSS फ़ीड हटाएँ","api":"DELETE /feed","href":"/hi/apis/feeds/delete-feed"},{"title":"RSS फ़ीड प्राप्त करें","api":"GET /feed","href":"/hi/apis/feeds/get-feeds"},{"title":"Update RSS Feed","api":"PUT /feed","href":"/hi/apis/feeds/update-feed"}]},{"group":"Generate","pages":[{"title":"Generate API अवलोकन","href":"/hi/apis/generate/overview"},{"title":"पोस्ट टेक्स्ट जनरेट करें","api":"POST /generate/post","href":"/hi/apis/generate/post-text"},{"title":"पोस्ट पुनर्लेखन करें","api":"POST /generate/rewrite","href":"/hi/apis/generate/rewrite-post"},{"title":"वीडियो ट्रांसक्राइब करें","api":"POST /generate/transcription","href":"/hi/apis/generate/transcribe-video"},{"title":"पोस्ट अनुवाद करें","api":"POST /generate/translate","href":"/hi/apis/generate/translate-post"},{"title":"Alt Text उत्पन्न करें","api":"POST /generate/altText","href":"/hi/apis/generate/image-alt-text"},{"title":"भावना विश्लेषण","api":"POST /generate/sentiment","href":"/hi/apis/generate/sentiment"}]},{"group":"Hashtags","pages":[{"title":"Hashtags API अवलोकन","href":"/hi/apis/hashtags/overview"},{"title":"Auto Hashtags","api":"POST /hashtags/auto","href":"/hi/apis/hashtags/auto-hashtags"},{"title":"Check Banned Hashtags","api":"GET /hashtags/banned","href":"/hi/apis/hashtags/check-hashtags"},{"title":"Recommend Hashtags","api":"GET /hashtags/recommend","href":"/hi/apis/hashtags/recommend-hashtags"},{"title":"हैशटैग खोजें","api":"GET /hashtags/search","href":"/hi/apis/hashtags/search-hashtags"}]},{"group":"History","pages":[{"title":"History API अवलोकन","href":"/hi/apis/history/overview"},{"title":"पोस्ट इतिहास","api":"GET /history","href":"/hi/apis/history/get-history"},{"title":"Post History by ID","api":"GET /history/:id","href":"/hi/apis/history/get-history-id"},{"title":"किसी सोशल प्लेटफ़ॉर्म के लिए पोस्ट इतिहास प्राप्त करें","api":"GET /history/:platform","href":"/hi/apis/history/history-platform"},{"title":"Posts History by Social ID","api":"GET /history/:socialId","href":"/hi/apis/history/history-social-id"}]},{"group":"Links","pages":[{"title":"Links API अवलोकन","href":"/hi/apis/links/overview"},{"title":"शॉर्ट लिंक बनाएँ","api":"POST /links","href":"/hi/apis/links/create-short-link"},{"title":"शॉर्ट लिंक अपडेट करें","api":"PUT /links/:id","href":"/hi/apis/links/update-short-link"},{"title":"Link Analytics","api":"GET /links/:id","href":"/hi/apis/links/link-analytics"}]},{"group":"Listening","pages":[{"title":"Listen API: सोशल मीडिया मॉनिटरिंग और Mentions","href":"/hi/apis/listen/overview"},{"title":"ब्रांड डेटा प्राप्त करें","api":"GET /brand/byUser","href":"/hi/apis/listen/brand-user"},{"group":"Search","pages":[{"title":"Facebook पेज खोजें","api":"GET /brand/search/facebook","href":"/hi/apis/listen/search/fb-page-search"},{"title":"LinkedIn खोजें","api":"GET /brand/search/linkedin","href":"/hi/apis/listen/search/linkedin-search"}]},{"group":"Keyword","pages":[{"title":"कीवर्ड द्वारा Tweets खोजें","api":"GET /listen/keyword","href":"/hi/apis/listen/keyword/search-tweets"}]}]},{"group":"Media","pages":[{"title":"Media API अवलोकन","href":"/hi/apis/media/overview"},{"title":"छवि या वीडियो अपलोड करें","api":"POST /media/upload","href":"/hi/apis/media/upload-media"},{"title":"बड़ी Media फ़ाइलें अपलोड करें","api":"GET /media/uploadUrl","href":"/hi/apis/media/upload-large-media"},{"title":"सत्यापित करें कि Media URL मौजूद है","api":"POST /media/urlExists","href":"/hi/apis/media/verify-media-url"},{"title":"गैलरी में सभी मीडिया प्राप्त करें","api":"GET /media","href":"/hi/apis/media/get-media-in-gallery"},{"title":"छवि का आकार बदलें","api":"POST /media/resize","href":"/hi/apis/media/resize"},{"title":"Media file पर Metadata","api":"GET /media/meta","href":"/hi/apis/media/get-media-metadata"},{"title":"Instagram Audio खोजें","api":"GET /media/instagram/audio/search","href":"/hi/apis/media/search-instagram-audio"},{"title":"Instagram Audio Metadata प्राप्त करें","api":"GET /media/instagram/audio/{audioId}","href":"/hi/apis/media/get-instagram-audio"}]},{"group":"Messages","pages":[{"title":"Messages API अवलोकन","href":"/hi/apis/messages/overview"},{"title":"Send Message","api":"POST /messages/:platform","href":"/hi/apis/messages/send-message"},{"title":"Get Messages","api":"GET /messages/:platform","href":"/hi/apis/messages/get-messages"},{"title":"Update Messages","api":"PUT /messages/:platform/:conversationId","href":"/hi/apis/messages/update-messages"},{"title":"Auto Response सेट करें","api":"POST /messages/autoresponse","href":"/hi/apis/messages/set-auto-response"},{"title":"ऑटो रिस्पॉन्स प्राप्त करें","api":"GET /messages/autoresponse","href":"/hi/apis/messages/get-auto-response"}]},{"group":"Post","pages":[{"title":"Post API Overview","href":"/hi/apis/post/overview"},{"title":"पोस्ट प्रकाशित करें API: किसी भी सोशल नेटवर्क पर पोस्ट करें","api":"POST /post","href":"/hi/apis/post/post"},{"title":"पोस्ट प्राप्त करें","api":"GET /post/:id","href":"/hi/apis/post/get-post"},{"title":"पोस्ट हटाएँ","api":"DELETE /post","href":"/hi/apis/post/delete-post"},{"title":"पोस्ट अपडेट करें","api":"PATCH /post","href":"/hi/apis/post/update-post"},{"title":"पोस्ट को Retry करें","api":"PUT /post/retry","href":"/hi/apis/post/retry-post"},{"title":"Copy a Post","api":"POST /post/copy","href":"/hi/apis/post/copy-post"},{"title":"Bulk Post","api":"POST /post/bulk","href":"/hi/apis/post/bulk-post"},{"group":"Social Networks","pages":[{"title":"समर्थित Social Networks","href":"/hi/apis/post/social-networks/overview"},{"title":"Bluesky API","icon":"bluesky","href":"/hi/apis/post/social-networks/bluesky"},{"title":"Facebook Page API","icon":"facebook","href":"/hi/apis/post/social-networks/facebook"},{"title":"Google Business Profile API","icon":"google","href":"/hi/apis/post/social-networks/google"},{"title":"Instagram API","icon":"instagram","href":"/hi/apis/post/social-networks/instagram"},{"title":"LinkedIn API","icon":"linkedin","href":"/hi/apis/post/social-networks/linkedin"},{"title":"Pinterest API","icon":"pinterest","href":"/hi/apis/post/social-networks/pinterest"},{"title":"Reddit API","icon":"reddit","href":"/hi/apis/post/social-networks/reddit"},{"title":"Snapchat API","icon":"snapchat","href":"/hi/apis/post/social-networks/snapchat"},{"title":"Telegram API","icon":"telegram","href":"/hi/apis/post/social-networks/telegram"},{"title":"Threads API","icon":"threads","href":"/hi/apis/post/social-networks/threads"},{"title":"TikTok API","icon":"tiktok","href":"/hi/apis/post/social-networks/tiktok"},{"title":"X API","icon":"x-twitter","href":"/hi/apis/post/social-networks/x-twitter"},{"title":"YouTube API","icon":"youtube","href":"/hi/apis/post/social-networks/youtube"}]}]},{"group":"Profiles","pages":[{"title":"Profiles API अवलोकन","href":"/hi/apis/profiles/overview"},{"title":"User Profile बनाएँ","api":"POST /profiles","href":"/hi/apis/profiles/create-profile"},{"title":"User Profile हटाएँ","api":"DELETE /profiles","href":"/hi/apis/profiles/delete-profile"},{"title":"Update a User Profile","api":"PATCH /profiles","href":"/hi/apis/profiles/update-profile"},{"title":"User Profiles प्राप्त करें","api":"GET /profiles","href":"/hi/apis/profiles/get-profiles"},{"title":"सोशल नेटवर्क अनलिंक करें","api":"DELETE /profiles/social","href":"/hi/apis/profiles/unlink-social-network"},{"title":"सोशल लिंकिंग का अवलोकन","href":"/hi/apis/profiles/social-linking-overview"},{"title":"Link Session बनाएँ","api":"POST /profiles/link-sessions","href":"/hi/apis/profiles/create-link-session"},{"title":"Link Session प्राप्त करें","api":"GET /profiles/link-sessions/{sessionId}","href":"/hi/apis/profiles/get-link-session"},{"title":"Link Session रद्द करें","api":"DELETE /profiles/link-sessions/{sessionId}","href":"/hi/apis/profiles/revoke-link-session"},{"title":"लिंकिंग URL बनाएँ (generateJWT)","api":"POST /profiles/generateJWT","deprecated":true,"href":"/hi/apis/profiles/generate-jwt"}]},{"group":"Reviews","pages":[{"title":"Reviews API अवलोकन","href":"/hi/apis/reviews/overview"},{"title":"Get All Reviews","api":"GET /reviews","href":"/hi/apis/reviews/get-reviews"},{"title":"एक समीक्षा प्राप्त करें","api":"GET /reviews/:id","href":"/hi/apis/reviews/get-one-review"},{"title":"समीक्षा का उत्तर दें","api":"POST /reviews","href":"/hi/apis/reviews/reply-review"},{"title":"Delete a Review Reply","api":"DELETE /reviews","href":"/hi/apis/reviews/delete-review-reply"}]},{"group":"User","pages":[{"title":"User Profile API अवलोकन","href":"/hi/apis/user/overview"},{"title":"User Profile Details","api":"GET /user","href":"/hi/apis/user/profile-details"},{"title":"Pinterest Boards","api":"GET /user/details/pinterest","href":"/hi/apis/user/pinterest-board"},{"title":"Update User","api":"PATCH /user/:platform","href":"/hi/apis/user/update-user"},{"title":"WhatsApp Business Profile","api":"GET /user/details/whatsapp","href":"/hi/apis/user/whatsapp-profile"},{"title":"बैच सभी प्राप्त करें","api":"GET /user/batch","href":"/hi/apis/user/batch-all-users"}]},{"group":"Utils","pages":[{"title":"Collaborator Request Status","api":"GET /post/collaborators/:id","href":"/hi/apis/utils/instagram-get-collaborator"},{"title":"Reddit Flair","api":"GET /post/redditFlair/:subreddit","href":"/hi/apis/utils/reddit-get-flair"},{"title":"User Lookups","api":"GET /user/lookups","href":"/hi/apis/utils/user-lookups"},{"group":"YouTube","pages":[{"title":"YouTube श्रेणियाँ","api":"GET /post/youtubeCategories/:region","href":"/hi/apis/utils/youtube-categories"},{"title":"YouTube Watermark सेट करें","api":"POST /post/youTubeWatermark","href":"/hi/apis/utils/set-youtube-watermark"},{"title":"YouTube वॉटरमार्क हटाएँ","api":"DELETE /post/youTubeWatermark","href":"/hi/apis/utils/remove-youtube-watermark"}]}]},{"group":"Validate","pages":[{"title":"Validate API Overview","href":"/hi/apis/validate/overview"},{"title":"मीडिया सत्यापित करें","href":"/hi/apis/validate/validate-media"},{"title":"Check Post Length","api":"POST /validate/postLength","href":"/hi/apis/validate/check-post-length"},{"title":"जाँचें कि Subreddit मौजूद है","api":"GET /validate/redditExists/:subreddit","href":"/hi/apis/validate/check-subreddit"},{"title":"कंटेंट मॉडरेशन","api":"POST /validate/moderation","href":"/hi/apis/validate/moderation"},{"title":"Validate JSON","api":"POST /validate/json","href":"/hi/apis/validate/validate-json"},{"title":"पोस्ट Validate करें","api":"POST /validate/post","href":"/hi/apis/validate/validate-post"}]},{"group":"Webhooks","pages":[{"title":"Webhooks Overview","href":"/hi/apis/webhooks/overview"},{"title":"Webhook Actions","href":"/hi/apis/webhooks/actions"},{"title":"Register Webhook","api":"POST /hook/webhook","href":"/hi/apis/webhooks/register"},{"title":"वेबहुक अनरजिस्टर करें","api":"DELETE /hook/webhook","href":"/hi/apis/webhooks/unregister"},{"title":"Rotate Signing Secret","api":"POST /hook/webhook/secret","href":"/hi/apis/webhooks/rotate-signing-secret"},{"title":"रजिस्टर्ड वेबहुक सूचीबद्ध करें","api":"GET /hook/webhook","href":"/hi/apis/webhooks/list"},{"title":"Webhook इतिहास","api":"GET /hook/history","href":"/hi/apis/webhooks/history"}]}]},{"group":"Multiple Users","pages":[{"title":"Launch Plan: entry-level multi-user Business plan","href":"/hi/multiple-users/business-launch-overview"},{"title":"Business Plan अवलोकन","href":"/hi/multiple-users/business-plan-overview"},{"title":"User Integration","href":"/hi/multiple-users/user-integration"},{"title":"API Integration for Business","href":"/hi/multiple-users/api-integration-business"},{"title":"Ayrshare Connect विजेट","href":"/hi/multiple-users/connect-widget"},{"title":"अपना ख़ुद का लिंकिंग पॉपअप बनाएँ","href":"/hi/multiple-users/connect-direct-mode"},{"title":"Link Completion Events","href":"/hi/multiple-users/link-completion-events"},{"title":"Manage Multiple User Profiles","href":"/hi/multiple-users/manage-user-profiles"}]},{"group":"Dashboard","pages":[{"title":"Ayrshare Dashboard अवलोकन: Social Media Posting प्रबंधन","href":"/hi/dashboard/overview"},{"group":"Connect Social Accounts","pages":[{"title":"अपने Social Media Accounts कनेक्ट करें","href":"/hi/dashboard/connect-social-accounts/overview"},{"title":"Bluesky लिंकिंग","icon":"bluesky","href":"/hi/dashboard/connect-social-accounts/bluesky"},{"title":"Facebook लिंकिंग","icon":"facebook","href":"/hi/dashboard/connect-social-accounts/facebook"},{"title":"Google Business Profile लिंकिंग","icon":"google","href":"/hi/dashboard/connect-social-accounts/google-business"},{"title":"Instagram Linking","icon":"instagram","href":"/hi/dashboard/connect-social-accounts/instagram"},{"title":"LinkedIn Linking","icon":"linkedin","href":"/hi/dashboard/connect-social-accounts/linkedin"},{"title":"Pinterest लिंकिंग","icon":"pinterest","href":"/hi/dashboard/connect-social-accounts/pinterest"},{"title":"Reddit लिंकिंग","icon":"reddit","href":"/hi/dashboard/connect-social-accounts/reddit"},{"title":"Snapchat लिंकिंग","icon":"snapchat","href":"/hi/dashboard/connect-social-accounts/snapchat"},{"title":"Ayrshare के साथ Telegram group या channel लिंक करें","icon":"telegram","href":"/hi/dashboard/connect-social-accounts/telegram"},{"title":"Threads Linking","icon":"threads","href":"/hi/dashboard/connect-social-accounts/threads"},{"title":"TikTok Linking","description":"TikTok पर एक्सेस अधिकृत करके निजी या बिज़नेस TikTok खाते को Ayrshare से लिंक करें, साथ में 365 दिन की लिंक समाप्ति और समस्या निवारण पर नोट्स।","icon":"tiktok","href":"/hi/dashboard/connect-social-accounts/tiktok"},{"title":"अपनी स्वयं की X API Key सेट करें","icon":"x-twitter","href":"/hi/dashboard/connect-social-accounts/x-twitter-byo-keys"},{"title":"X लिंकिंग","description":"अपनी X Consumer Key और Consumer Secret दर्ज करके, pop-up में sign in करके और app को अधिकृत करके X (Twitter) account को Ayrshare से जोड़ें।","icon":"x-twitter","href":"/hi/dashboard/connect-social-accounts/x-twitter"},{"title":"YouTube लिंकिंग","icon":"youtube","href":"/hi/dashboard/connect-social-accounts/youtube"}]},{"title":"सोशल मीडिया पोस्ट कैसे प्रकाशित करें","href":"/hi/dashboard/publish-post"},{"title":"JSON देखें","href":"/hi/dashboard/view-json"},{"title":"सोशल मीडिया तक पहुँच रद्द करें","href":"/hi/dashboard/revoke-access"},{"group":"RSS","pages":[{"title":"RSS, Substack, और YouTube फ़ीड","href":"/hi/dashboard/automated-rss-feeds"},{"title":"RSS फ़ीड URL खोजें","href":"/hi/dashboard/find-rss"}]}]},{"group":"Additional","pages":[{"group":"What's New At Ayrshare","pages":[{"title":"नवीनतम अपडेट","href":"/hi/whatsnew/latest"},{"title":"Update Archive","href":"/hi/whatsnew/archive"},{"title":"आगामी API परिवर्तन","mode":"wide","href":"/hi/whatsnew/upcoming-api-changes"}]},{"group":"Errors","pages":[{"title":"त्रुटियाँ अवलोकन","href":"/hi/errors/overview"},{"title":"HTTP Status Codes","href":"/hi/errors/errors-http"},{"title":"Ayrshare त्रुटि कोड","href":"/hi/errors/errors-ayrshare"}]},{"title":"Max Pack","mode":"wide","href":"/hi/additional/maxpack"},{"group":"Media Guidelines","pages":[{"title":"सोशल मीडिया छवि और वीडियो आवश्यकताएँ","href":"/hi/media-guidelines/overview"},{"title":"Bluesky","icon":"bluesky","href":"/hi/media-guidelines/bluesky"},{"title":"Facebook Pages","icon":"facebook","href":"/hi/media-guidelines/facebook-pages"},{"title":"Google Business Profile","icon":"google","href":"/hi/media-guidelines/google-business-profile"},{"title":"Instagram","icon":"instagram","href":"/hi/media-guidelines/instagram"},{"title":"LinkedIn","icon":"linkedin","href":"/hi/media-guidelines/linkedin"},{"title":"Pinterest","icon":"pinterest","href":"/hi/media-guidelines/pinterest"},{"title":"Reddit","icon":"reddit","href":"/hi/media-guidelines/reddit"},{"title":"Snapchat","icon":"snapchat","href":"/hi/media-guidelines/snapchat"},{"title":"Telegram","icon":"telegram","href":"/hi/media-guidelines/telegram"},{"title":"Threads","icon":"threads","href":"/hi/media-guidelines/threads"},{"title":"TikTok","icon":"tiktok","href":"/hi/media-guidelines/tiktok"},{"title":"WhatsApp","icon":"whatsapp","href":"/hi/media-guidelines/whatsapp"},{"title":"X","icon":"x-twitter","href":"/hi/media-guidelines/x-twitter"},{"title":"YouTube","icon":"youtube","href":"/hi/media-guidelines/youtube"}]},{"group":"Packages \u0026 Guides","pages":[{"title":"Ayrshare SDKs और Integration Guides अवलोकन","mode":"wide","href":"/hi/packages-guides/overview"},{"title":"Airtable","href":"/hi/packages-guides/airtable"},{"title":"Bubble.io","href":"/hi/packages-guides/bubble"},{"title":"Flutter","href":"/hi/packages-guides/flutter"},{"title":"FlutterFlow","href":"/hi/packages-guides/flutterflow"},{"title":"Make","href":"/hi/packages-guides/make"},{"title":"n8n","href":"/hi/packages-guides/n8n"},{"title":"Node.js NPM","href":"/hi/packages-guides/nodejs"},{"title":"Notion","href":"/hi/packages-guides/notion"},{"title":"Python PyPI","href":"/hi/packages-guides/python"},{"title":"Retool","href":"/hi/packages-guides/retool"}]},{"title":"सिस्टम स्थिति","href":"/hi/additional/status"},{"group":"Testing \u0026 Verification","pages":[{"title":"Hurl","href":"/hi/testing/hurl"},{"title":"Validation Endpoints","href":"/hi/testing/validation-endpoints"},{"title":"Postman","href":"/hi/testing/postman"},{"title":"Post Verification","href":"/hi/testing/post-verification"},{"title":"पब्लिश से पहले की जाँचें","href":"/hi/testing/pre-publish-checks"}]},{"group":"ISO Codes","pages":[{"title":"देश कोड","href":"/hi/iso-codes/country"},{"title":"भाषा कोड","href":"/hi/iso-codes/language"}]}]}]},{"anchor":"Help Center","icon":"lightbulb","pages":[{"title":"Help Center","href":"/hi/help-center/overview"}]}]},{"language":"ar","pages":[{"title":"ar","href":"/ar/dashboard/connect-social-accounts/x-twitter-byo-keys"}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/zh-Hans/dashboard/connect-social-accounts/x-twitter-byo-keys"}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh-Hant/dashboard/connect-social-accounts/x-twitter-byo-keys"}]}]},"basePath":"","title":"अपनी स्वयं की X API Key सेट करें - Ayrshare Docs","deploymentId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","buildId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-G1zPyUGO.js","lightbox-handle-r17bVUz3.js"]}