Покроковий посібник з підключення власних облікових даних X (Twitter) API до Ayrshare
31 березня 2026 року X змінив спосіб доступу сторонніх платформ до свого API. Як наслідок, кожен обліковий запис Ayrshare, що публікує в X через Ayrshare, має зареєструвати власний X Developer App та використовувати свої API Key та API Secret у кожному запиті.Це загальноплатформенна зміна, обов’язкова від X, яка впливає на всі сторонні інструменти.
BYO-ключі встановлюються один раз для платформи (на весь обліковий запис), а не для кожного клієнта чи субпрофілю. Ви створюєте один X Developer App під вашим власним обліковим записом X, і ті самі API Key + API Secret застосовуються до всього облікового запису для X — вони використовуються для кожного субпрофілю / кінцевого користувача, який підключає X під вашим обліковим записом Ayrshare. Якщо у вас план Business або Enterprise з сотнями субпрофілів, вам не потрібно повторювати це налаштування для кожного. Ви налаштовуєте його один раз для платформи X, а потім передаєте ті самі два заголовки в кожному запиті.
Ми оптимізували процес налаштування, щоб зробити його максимально простим, і його завершення має зайняти менше 10 хвилин. Дотримуйтесь нашого покрокового посібника нижче, і якщо вам потрібна допомога, наша команда готова її надати.
Завершіть онбординг для розробників і прийміть Угоду розробника та політики.
3
Отримайте доступ до консолі
Тепер ви в X Developer Console.
Крок 2: Створіть застосунок
Ви створюєте лише один X Developer App на обліковий запис Ayrshare. Той самий застосунок та його API Key + API Secret використовуються повторно для кожного субпрофілю / кінцевого користувача, якого ви пізніше підключаєте під вашим обліковим записом Ayrshare. Ви не створюєте новий застосунок для кожного клієнта.
1
Перейдіть до Apps
У Developer Console перейдіть до Apps.
2
Створіть застосунок
На панелі App натисніть Create App (див. документацію з налаштування App X для отримання деталей). Введіть назву застосунку (зазвичай ім’я вашого бренду). Ця назва буде відображатися на екрані авторизації OAuth, коли користувачі підключають свій обліковий запис X.
3
Виберіть середовище
Виберіть середовище Production у випадаючому меню.
Використовуйте пакет Pay-per-use. Ваш застосунок має бути в пакеті Pay-per-use, у середовищі Production, а не в Standalone. Інакше зв’язування облікового запису X завершиться помилкою 403 “Client Forbidden” (client-not-enrolled).
4
Закрийте початкове спливаюче вікно з обліковими даними
X згенерує кілька облікових даних. Проігноруйте ці облікові дані та закрийте це вікно.
Крок 3: Налаштуйте дозволи застосунку
1
Відкрийте налаштування вашого застосунку
Під “Apps” знайдіть новий застосунок (оновіть сторінку, якщо він не з’являється), потім натисніть на нього, щоб переглянути його деталі.Під User authentication settings натисніть Set up.
2
Встановіть дозволи застосунку
Під App permissions виберіть Read and write and Direct message. Це потрібно для повної підтримки функцій, включаючи публікацію та DM.
3
Встановіть тип застосунку
Під Type of App виберіть Web App, Automated App or Bot. Це правильний вибір для серверних інтеграцій, як-от Ayrshare.
4
Встановіть URL зворотного виклику та вебсайту
Під App info:
Callback URL: Додайте обидва наступні URL зворотного виклику:
https://profile.ayrshare.com/social-accounts
https://app.ayrshare.com/social-accounts
Website URL:https://app.ayrshare.com
Не пропускайте цей крок. Ці URL зворотного виклику необхідні для потоку зв’язування OAuth. Коли ваші кінцеві користувачі авторизують підключення X, X перенаправляє їх назад на одну з цих URL для завершення процесу зв’язування. Якщо їх немає, потік OAuth не вдасться з помилкою 403 Callback URL not approved.
5
Збережіть налаштування
Натисніть Save. Ви можете проігнорувати спливаюче вікно OAuth 2.0, оскільки ви використовуватимете лише 2 з ключів OAuth 1.0 (API Key та API Secret).
Важливо: встановіть дозволи перед зв’язуванням. Дозволи, які ви обираєте тут, визначають, що може робити ваш застосунок. Якщо ви змінюєте дозволи після зв’язування вашого облікового запису X через OAuth, вам потрібно буде повторно зв’язати, щоб новий Access Token успадкував оновлені дозволи.
Будь ласка, переконайтеся, що ви зберігаєте ці 2 ключі:
API Key (він же Consumer Key, ідентифікатор X-застосунку)
API Secret (він же Consumer Secret)
Вам НЕ потрібно вручну генерувати Access Tokens. Ayrshare автоматично обробляє це, коли ви підключаєте свій обліковий запис X через OAuth.
Крок 4: Купіть кредити X API
X тепер використовує біллінг API на основі кредитів, який купується через консоль розробника.
1
Перейдіть до біллінгу
У Developer Console натисніть Billing → Credits у лівій бічній панелі.
2
Купіть кредити
Купіть кредити (мінімум $5, чого достатньо для сотень викликів API). Кожен виклик API — це частка цента, тому вартість має бути мінімальною для більшості користувачів.
3
Увімкніть автоматичне поповнення
Ви можете увімкнути автоматичне поповнення, щоб уникнути перебоїв у роботі, та керувати обмеженням витрат, встановивши максимальну суму, яку ви можете витратити у своєму платіжному циклі.
Ваші виклики API не вдадуться без кредитів. X API є pay-per-use. Якщо ваш баланс кредитів нульовий, кожен запит API поверне помилку 402 CreditsDepleted з повідомленням “Your enrolled account does not have any credits to fulfill this request.” Це включає публікацію, читання твітів та пошук користувачів. Завантажте кредити перед тестуванням вашої інтеграції. Див. Як працює ціноутворення X API для повного огляду ціноутворення X.
Крок 5: Оновіть ваші виклики Ayrshare API
На кроці 3 ви безпечно зберегли ці 2 елементи у вашому власному env, config або менеджері секретів:
API Key (він же Consumer Key, ідентифікатор X-застосунку)
API Secret (він же Consumer Secret)
Тепер додайте ваші облікові дані X до заголовків ваших викликів Ayrshare API.
Ваші ключі залишаються приватними. API Key і API Secret, які ви надсилаєте в цих заголовках, використовуються лише для цього запиту й не зберігаються Ayrshare. Створення URL для підключення — єдиний виняток, описаний у розділі Безпека нижче.
Довідник заголовків
Заголовок
Значення
X-Twitter-OAuth1-Api-Key
API Key (Consumer Key)
X-Twitter-OAuth1-Api-Secret
API Key Secret (Consumer Secret)
Як визначити, що ваші дозволи неправильні:
Якщо дозволи вашого застосунку налаштовані неправильно, ваш запит API може повернути помилку 403 Forbidden з повідомленням: “Your client app is not configured with the appropriate OAuth1 app permissions.”
Якщо ви бачите цю помилку, оновіть дозволи вашого застосунку до Read and write and Direct message у X Developer Console, потім повторно зв’яжіть ваш обліковий запис X через OAuth, щоб новий Access Token успадкував оновлені дозволи.
Приклади коду
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"]},)
Ваші існуючі автоматизації та робочі процеси продовжуватимуть працювати, доки ви включаєте заголовки API Key та API Secret у кожен запит, що спрямований на X.
Міграція існуючих профілів (Business та Enterprise)
Якщо у вас є субпрофілі, які вже підключені до X через Ayrshare, ці профілі потрібно повторно підключити до їхніх облікових записів X після переходу на BYO-ключі. Це тому, що існуючі токени доступу було видано під X-застосунком Ayrshare і їх не можна використовувати з вашими consumer-ключами (підписи OAuth 1.0a прив’язані до застосунку, який видав токен).
1
Включіть ваші ключі в generateJWT
Додайте twitterApiKey і twitterApiSecret до тіла вашого запиту generateJWT. Вони шифруються та зберігаються разом із сесією підключення й не показуються вашим кінцевим користувачам.
Створення URL для підключення — єдиний випадок, коли ваші consumer keys передаються в тілі запиту: цей запит або POST /profiles/link-sessions. Будь-який інший запит до X використовує заголовки, описані вище.
2
Дайте користувачам повторно підключити X
Після генерації JWT з увімкненими ключами вашим користувачам потрібно повторно підключити свій обліковий запис X через сторінку зв’язування профілів. Екран згоди OAuth тепер відображатиме назву вашого застосунку замість Ayrshare.Щоб оптимізувати це, ви можете:
Програмно від’єднати облікові записи через Unlink API, потім дозволити користувачам повторно авторизуватися
Використовувати параметр logout у generateJWT для примусового нового входу
Використовувати allowedSocial, щоб показувати лише X на сторінці зв’язування під час потоку міграції
3
Продовжуйте надсилати заголовки у всіх викликах API
Після повторного зв’язування продовжуйте включати заголовки X-Twitter-OAuth1-Api-Key та X-Twitter-OAuth1-Api-Secret у кожен виклик API (публікація, аналітика, коментарі тощо).
Після того як профіль було повторно зв’язано під вашим X-застосунком, усі наступні дописи для цього профілю використовуватимуть ваші облікові дані. Ви можете перевірити це, переглянувши сторінку Usage у вашому X Developer Console.
Перевірте ваше налаштування
Зробіть тестовий виклик через Ayrshare API з вашими новими заголовками, щоб підтвердити, що все працює. Ендпоінт /analytics/social — це хороший легкий тест, оскільки він не створюватиме жодних дописів.
Як працює ціноутворення X API
Раніше Ayrshare покривав вартість використання API X від вашого імені. За поточної моделі X кожен клієнт Ayrshare підтримує власний X Developer account і платить X безпосередньо за запити API, які робить його застосунок. (Один X Developer account на обліковий запис Ayrshare, а не на кінцевого користувача. Усі ваші субпрофілі спільно використовують той самий X Developer account і баланс кредитів.)Модель ціноутворення X є pay-per-use: ви купуєте кредити в X Developer Console, і вони віднімаються, коли робляться запити API. Жодних контрактів або підписок не потрібно.Типові операції недорогі. Наприклад:
Операція
Приблизна вартість
Створення допису (лише текст)
~$0.01 за допис
Створення допису з медіа
~$0.02 за допис (завантаження медіа та створення допису — це окремі запити)
Читання допису
~$0.005 за читання
Пошук користувача
~$0.01 за пошук
Надсилання DM
~$0.01 за повідомлення
Читання DM-подій
~$0.01 за подію
Взаємодії з користувачами (підписка, лайк тощо)
~$0.015 за запит
Для контексту, якщо ви публікуєте близько 100 разів на місяць, ваша пряма вартість X буде приблизно $1, а дописи з медіа — приблизно $2 на місяць.
Модель pay-per-use X наразі перебуває на пілотному етапі. Тарифи можуть змінюватися, і можуть бути введені додаткові витрати. Завжди перевіряйте Developer Console для отримання найактуальніших цін. Див. огляд інформації про ціни X.
Ми розуміємо, що це вводить вартість, якої не було раніше, і хочемо бути прозорими щодо цього. Водночас ця модель також розблоковує кілька переваг, які не були можливі за попередньої моделі спільних ключів.
Переваги використання власного X API Key
Використання ваших власних облікових даних X API забезпечує більше контролю та надійності, ніж попередня модель спільних ключів. Це включає:
Брендований OAuth-досвід: Користувачі бачать назву та брендинг вашого застосунку під час авторизації доступу до X.
Виділені ліміти запитів: Ваше використання API регулюється лімітами вашого власного X Developer account, окремо від інших користувачів Ayrshare. Ви можете моніторити своє використання в X Developer Console та ознайомитися з документацією про ліміти запитів X API.
Контроль над обліковими даними: ваші API Key і Secret залишаються у вашому власному акаунті X Developer. Ayrshare не зберігає ключі, які ви надсилаєте в заголовках запитів. Створення URL для підключення — єдиний виняток, описаний у розділі Безпека нижче.
Портативність: Оскільки користувачі автентифікуються за допомогою вашого X App, ваша інтеграція залишається повністю під вашим контролем.
Видимість використання: Ваша панель X Developer показує запити API, ліміти запитів та використання кредитів.
X — це перша платформа, яка вимагає цієї моделі, але більше платформ рухаються до “принесіть свій власний API-ключ”. Ми розширюємо цю можливість у всьому Ayrshare, щоб розробники мали такий самий контроль і незалежність на всіх соціальних платформах.
Безпека
API Key і API Secret, які ви надсилаєте в заголовках запитів, використовуються лише для цього запиту й не зберігаються Ayrshare.
Створення URL для підключення є винятком. Коли ви передаєте twitterApiKey і twitterApiSecret до POST /profiles/generateJWT або POST /profiles/link-sessions, пара шифрується та зберігається разом із цією сесією підключення, оскільки сторінка підключення потребує її, коли ваш користувач за мить авторизує X. Вона вилучається, коли ви відкликаєте посилання, або коли протерміноване посилання наступного разу відкривають чи перевіряють, і в будь-якому разі видаляється разом із записом сесії протягом 30 днів.
Чи потрібно мені налаштовувати це для кожного клієнта / субпрофілю?
Ні. Ви налаштовуєте один X Developer App під вашим власним обліковим записом X, і ті самі API Key + API Secret використовуються повторно для кожного субпрофілю / кінцевого користувача, якого ви підключаєте під вашим обліковим записом Ayrshare.
Ви створюєте X Developer App один раз.
Ви передаєте ті самі два заголовки (X-Twitter-OAuth1-Api-Key та X-Twitter-OAuth1-Api-Secret) у кожному виклику Ayrshare API, незалежно від того, для якого субпрофілю призначений виклик.
Ваші кінцеві користувачі все одно кожен проходять через потік зв’язування OAuth, щоб авторизувати свій власний обліковий запис X, але їм не потрібен власний X Developer App або API-ключі. Вони підключаються через ваш застосунок.
Усі субпрофілі спільно використовують один X Developer account, ті самі ліміти запитів і той самий баланс кредитів.
Єдиний випадок, коли ви обробляєте ключі для кожного профілю, — це в тілі generateJWT під час міграції, але це ті самі два ваші ключі, просто доставлені на сторінку зв’язування, щоб кінцеві користувачі могли повторно авторизуватися під вашим застосунком.
Чи діє вимога до X API-ключа зараз?
Так. Станом на 31 березня 2026 року, усі операції X через Ayrshare потребують ваших власних облікових даних X API. Якщо ви ще не налаштували свій X Developer account, дотримуйтесь кроків вище.
Що станеться, якщо я не додам мій X API-ключ до Ayrshare?
Публікація в X через Ayrshare потребує ваших власних облікових даних X API. Запити без валідних BYO-облікових даних відхиляються. Публікація на інші платформи (Instagram, LinkedIn, Facebook, TikTok тощо) не зачіпається.
Скільки коштує X API?
X стягує плату за кожен виклик API. Створення допису коштує близько $0.01, а читання допису — близько $0.005. Наприклад, публікація 100 дописів на місяць коштувала б приблизно $1. Див. сторінку ціноутворення X для повних деталей.
Чи змінює це ціну моєї підписки Ayrshare?
Ні. Ціна вашої підписки Ayrshare залишається незмінною. Єдиною додатковою вартістю є плата за використання X API, що виставляється безпосередньо X через ваш developer account.
Чи зберігає Ayrshare мої облікові дані X API?
Для звичайних запитів до API — ні: API Key і API Secret, які ви надсилаєте в заголовках, використовуються лише для цього запиту й не зберігаються. Створення URL для підключення є винятком, оскільки сторінка підключення потребує цієї пари, коли ваш користувач авторизує X. Там вона шифрується та зберігається разом із сесією підключення, а потім вилучається, коли ви відкликаєте посилання, коли протерміноване посилання наступного разу відкривають чи перевіряють, або разом із записом сесії протягом 30 днів. Див. розділ Безпека вище та посібник X з безпеки автентифікації для загальних рекомендацій.
У мене вже є X Developer account. Чи можу я використовувати існуючий ключ?
Так. Ви можете використовувати ваш існуючий X App, доки в ньому увімкнено дозволи “Read and write” (та Direct Messages, якщо ви використовуєте функції DM).Вам знадобляться ваші API Key (Consumer Key) та API Secret (Consumer Secret) з розділу Keys and tokens у X Developer Console. Підключіть ваш обліковий запис X через OAuth, потім включіть ці 2 заголовки у ваші запити Ayrshare API.Якщо ви змінили дозволи вашого застосунку після початкового налаштування, повторно підключіть ваш обліковий запис X, щоб Access Token успадкував оновлені дозволи.
X Developer Portal показує багато облікових даних. Які з них мені насправді потрібні?
Вам потрібні ваші API Key (Consumer Key) та API Secret (Consumer Secret). Див. таблицю довідника заголовків вище, щоб дізнатися, до якого саме заголовка Ayrshare відповідає кожен з них. Ви можете ігнорувати Client ID, Client Secret, Bearer Token, Access Token та Access Token Secret.
Яка різниця між 'API Key' і 'Client ID'?
Це абсолютно різні облікові дані для різних методів автентифікації:
API Key (також званий “Consumer Key”) — для OAuth 1.0a. API Key (Consumer Key) + API Secret — це те, що використовує Ayrshare. Він працює з усіма функціями X, токени ніколи не закінчуються, і логіка оновлення не потрібна.
Client ID — для OAuth 2.0. Вам НЕ потрібно це для Ayrshare. Токени OAuth 2.0 закінчуються через короткий період і потребують керування refresh-токенами.
Для Ayrshare вам потрібні лише ваші API Key та API Secret. Ви можете ігнорувати Client ID, Client Secret та Bearer Token.
Чому OAuth 1.0a, а не OAuth 2.0?
Токени доступу OAuth 2.0 закінчуються кожні 2 години, а refresh-токени X — одноразові (кожне оновлення анулює старий токен). Це унеможливлює підтримку stateless BYO-моделі, особливо для запланованих дописів. Токени OAuth 1.0a ніколи не закінчуються, працюють з усіма функціями X і не потребують керування токенами.
Чи потрібно моїм існуючим користувачам повторно підключати свої облікові записи X?
Так. Якщо ваші користувачі підключили X через Ayrshare до того, як ви налаштували BYO-ключі, їм потрібно буде повторно підключитися. Існуючі токени доступу було видано під X-застосунком Ayrshare і вони не працюватимуть з вашими consumer-ключами. Див. Міграція існуючих профілів вище для покрокового процесу.
Чи впливає ця зміна на публікацію в Instagram, LinkedIn або інших платформах?
Ні. Ця зміна впливає лише на публікацію в X. Усі інші інтеграції платформ в Ayrshare продовжують працювати як зазвичай.
А як щодо RSS/Feed автопублікації в X?
RSS-автопублікація в X більше не підтримується. RSS-стрічки працюють автоматично за розкладом, але модель bring-your-own API key вимагає, щоб облікові дані надавалися з кожним запитом API. Через це RSS-стрічки не можуть автентифікуватися, коли надсилається допис.Якщо ви раніше використовували RSS для публікації в X, ми рекомендуємо перейти на заплановані дописи або прямі виклики API, що включають ваші облікові дані. RSS-автопублікація на всі інші платформи залишається без змін.
Чому я отримую помилку 402 "CreditsDepleted"?
Це означає, що ваш X Developer account не має доступних API-кредитів. Перейдіть на console.x.com → Billing → Credits і купіть кредити. Навіть $5 достатньо для сотень викликів API. Після завантаження кредитів повторіть ваш запит.
Чому я отримую помилку 403 "Forbidden: OAuth1 App Permissions"?
Ваш Access Token не має правильних дозволів. Це зазвичай означає одне з двох:
Дозволи вашого застосунку встановлено як “Read” замість “Read and write.” Перейдіть до Settings вашого застосунку в Developer Console і змініть на Read and write and Direct message.
Ви змінили дозволи після зв’язування облікового запису X. Access Tokens зберігають дозволи, з якими вони були створені. Повторно зв’яжіть ваш обліковий запис X через OAuth, щоб новий токен успадкував оновлені дозволи.
Що робити, якщо мені потрібна допомога з налаштуванням?
Наша команда підтримки рада допомогти. Якщо у вас виникнуть питання або проблеми під час налаштування, будь ласка, звертайтеся через support@ayrshare.com, і ми проведемо вас через процес.
Усунення несправностей
Я отримую помилку 400 про відсутні заголовки
Переконайтеся, що ви надсилаєте обидва обов’язкові заголовки:
X-Twitter-OAuth1-Api-Key
X-Twitter-OAuth1-Api-Secret
Якщо ви бачите помилку невідповідності пари (наприклад, “You provided Api-Key but not Api-Secret”), це означає, що один з двох відсутній. Обидва завжди обов’язкові.Повідомлення про помилку скаже вам, який саме заголовок відсутній.
Я отримую помилку 403: "Callback URL not approved"
Якщо ви бачите цю помилку під час спроби зв’язати обліковий запис X, переконайтеся, що ви додали необхідні URL зворотного виклику до налаштувань вашого X Developer App (під Authentication settings > Callback URI / Redirect URL):
Ваш X Developer account не має завантажених API-кредитів. Перейдіть на console.x.com → Billing → Credits і купіть кредити. Навіть $5 достатньо для сотень викликів API.
Я отримую помилку 403: "oauth1 app permissions"
Ваш Access Token не має правильних дозволів. Це зазвичай означає:
Дозволи вашого застосунку встановлено як “Read” замість “Read and write.” Перейдіть до Settings вашого застосунку в Developer Console і змініть на Read and write and Direct message.
Ви змінили дозволи після зв’язування облікового запису X. Access Tokens зберігають дозволи, з якими вони були створені. Повторно зв’яжіть ваш обліковий запис X через OAuth, щоб новий токен успадкував оновлені дозволи.
Я отримую помилку 403: "Client Forbidden" (client-not-enrolled)
Ваш застосунок X не зареєстровано для X API v2. Так буває, коли застосунок перебуває в пакеті Standalone.У X Developer Console перемістіть застосунок із Standalone до пакета Pay-per-use (середовище Production), а потім знову зв’яжіть обліковий запис X. Див. Крок 2: Створіть застосунок вище.
Потрібна допомога?
Якщо у вас виникнуть питання або проблеми під час налаштування вашого X API-ключа, наша команда інженерів рада допомогти. Ви можете зв’язатися з нами будь-коли за адресою 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.4416","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":"uk/dashboard/connect-social-accounts/x-twitter-byo-keys","slug":"/uk/dashboard/connect-social-accounts/x-twitter-byo-keys","pageMetadata":{"title":"Налаштування власного X API Key","description":"Покроковий посібник з підключення власних облікових даних X (Twitter) API до Ayrshare","icon":"x-twitter","href":"/uk/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 до 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, має зареєструвати власний 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-ключі встановлюються один раз для платформи (на весь обліковий запис), а не для кожного клієнта чи субпрофілю.`}),` Ви створюєте `,_jsx(_components.strong,{children:`один X Developer App`}),` під вашим власним обліковим записом X, і ті самі `,_jsx(_components.strong,{children:`API Key + API Secret`}),` застосовуються до всього облікового запису для X — вони використовуються для `,_jsx(_components.strong,{children:`кожного`}),` субпрофілю / кінцевого користувача, який підключає X під вашим обліковим записом Ayrshare. Якщо у вас план Business або Enterprise з сотнями субпрофілів, вам `,_jsx(_components.strong,{children:`не`}),` потрібно повторювати це налаштування для кожного. Ви налаштовуєте його один раз для платформи X, а потім передаєте ті самі два заголовки в кожному запиті.`]})}),`\n`,_jsx(_components.p,{children:`Ми оптимізували процес налаштування, щоб зробити його максимально простим, і його завершення має зайняти менше 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. Див. `,_jsx(_components.a,{href:`https://docs.x.com/x-api/getting-started/getting-access`,children:`посібник із початку роботи X`}),`, якщо вам потрібна допомога.`]}),_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:`Завершіть онбординг`,children:_jsx(_components.p,{children:`Завершіть онбординг для розробників і прийміть Угоду розробника та політики.`})}),_jsx(Step,{title:`Отримайте доступ до консолі`,children:_jsx(_components.p,{children:`Тепер ви в X Developer Console.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-2-create-an-app`,children:`Крок 2: Створіть застосунок`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Ви створюєте лише `,_jsx(_components.strong,{children:`один X Developer App на обліковий запис Ayrshare`}),`. Той самий застосунок та його API Key + API Secret використовуються повторно для кожного субпрофілю / кінцевого користувача, якого ви пізніше підключаєте під вашим обліковим записом Ayrshare. Ви не створюєте новий застосунок для кожного клієнта.`]})}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Перейдіть до Apps`,children:[_jsxs(_components.p,{children:[`У Developer Console перейдіть до `,_jsx(_components.strong,{children:`Apps`}),`.`]}),_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:`Створіть застосунок`,children:[_jsxs(_components.p,{children:[`На панелі App натисніть `,_jsx(_components.strong,{children:`Create App`}),` (див. `,_jsx(_components.a,{href:`https://docs.x.com/fundamentals/developer-apps`,children:`документацію з налаштування App X`}),` для отримання деталей). Введіть назву застосунку (зазвичай ім’я вашого бренду). Ця назва буде відображатися на екрані авторизації OAuth, коли користувачі підключають свій обліковий запис X.`]}),_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:`Виберіть середовище`,children:[_jsxs(_components.p,{children:[`Виберіть середовище `,_jsx(_components.strong,{children:`Production`}),` у випадаючому меню.`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Використовуйте пакет Pay-per-use.`}),` Ваш застосунок має бути в пакеті `,_jsx(_components.strong,{children:`Pay-per-use`}),`, у середовищі `,_jsx(_components.strong,{children:`Production`}),`, а не в `,_jsx(_components.strong,{children:`Standalone`}),`. Інакше зв’язування облікового запису X завершиться помилкою 403 “Client Forbidden” (`,_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:`Закрийте початкове спливаюче вікно з обліковими даними`,children:_jsxs(_components.p,{children:[`X згенерує кілька облікових даних. `,_jsx(_components.strong,{children:`Проігноруйте ці облікові дані та закрийте це вікно.`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-3-configure-app-permissions`,children:`Крок 3: Налаштуйте дозволи застосунку`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Відкрийте налаштування вашого застосунку`,children:[_jsx(_components.p,{children:`Під “Apps” знайдіть новий застосунок (оновіть сторінку, якщо він не з’являється), потім натисніть на нього, щоб переглянути його деталі.`}),_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:`Встановіть дозволи застосунку`,children:[_jsxs(_components.p,{children:[`Під `,_jsx(_components.strong,{children:`App permissions`}),` виберіть `,_jsx(_components.strong,{children:`Read and write and Direct message`}),`. Це потрібно для повної підтримки функцій, включаючи публікацію та DM.`]}),_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:`Встановіть тип застосунку`,children:[_jsxs(_components.p,{children:[`Під `,_jsx(_components.strong,{children:`Type of App`}),` виберіть `,_jsx(_components.strong,{children:`Web App, Automated App or Bot`}),`. Це правильний вибір для серверних інтеграцій, як-от Ayrshare.`]}),_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:`Встановіть URL зворотного виклику та вебсайту`,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:`}),` Додайте обидва наступні URL зворотного виклику:`,`\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:`Не пропускайте цей крок.`}),` Ці URL зворотного виклику необхідні для потоку зв’язування OAuth. Коли ваші кінцеві користувачі авторизують підключення X, X перенаправляє їх назад на одну з цих URL для завершення процесу зв’язування. Якщо їх немає, потік OAuth не вдасться з помилкою `,_jsx(_components.code,{children:`403 Callback URL not approved`}),`.`]})}),_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:`Збережіть налаштування`,children:_jsxs(_components.p,{children:[`Натисніть `,_jsx(_components.strong,{children:`Save`}),`. Ви можете проігнорувати спливаюче вікно OAuth 2.0, оскільки ви використовуватимете лише 2 з ключів OAuth 1.0 (API Key та API Secret).`]})})]}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Важливо: встановіть дозволи перед зв’язуванням.`}),` Дозволи, які ви обираєте тут, визначають, що може робити ваш застосунок. Якщо ви змінюєте дозволи після зв’язування вашого облікового запису X через OAuth, вам потрібно буде повторно зв’язати, щоб новий Access Token успадкував оновлені дозволи.`]}),_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 ключі:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Key`}),` (він же Consumer Key, ідентифікатор X-застосунку)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Secret`}),` (він же Consumer Secret)`]}),`\n`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Вам `,_jsx(_components.strong,{children:`НЕ`}),` потрібно вручну генерувати Access Tokens. Ayrshare автоматично обробляє це, коли ви підключаєте свій обліковий запис X через OAuth.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`крок-4-купіть-кредити-x-api`,children:`Крок 4: Купіть кредити X API`}),`\n`,_jsx(_components.p,{children:`X тепер використовує біллінг API на основі кредитів, який купується через консоль розробника.`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Перейдіть до біллінгу`,children:[_jsxs(_components.p,{children:[`У Developer Console натисніть `,_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:`Купіть кредити`,children:[_jsx(_components.p,{children:`Купіть кредити (мінімум $5, чого достатньо для сотень викликів API). Кожен виклик API — це частка цента, тому вартість має бути мінімальною для більшості користувачів.`}),_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:`Увімкніть автоматичне поповнення`,children:[_jsxs(_components.p,{children:[`Ви можете увімкнути `,_jsx(_components.strong,{children:`автоматичне поповнення`}),`, щоб уникнути перебоїв у роботі, та керувати обмеженням витрат, встановивши максимальну суму, яку ви можете витратити у своєму платіжному циклі.`]}),_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:`Ваші виклики API не вдадуться без кредитів.`}),` X API є pay-per-use. Якщо ваш баланс кредитів нульовий, кожен запит API поверне помилку `,_jsx(_components.code,{children:`402 CreditsDepleted`}),` з повідомленням “Your enrolled account does not have any credits to fulfill this request.” Це включає публікацію, читання твітів та пошук користувачів. Завантажте кредити перед тестуванням вашої інтеграції. Див. `,_jsx(_components.a,{href:`#how-x-api-pricing-works`,children:`Як працює ціноутворення X API`}),` для повного огляду ціноутворення X.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`крок-5-оновіть-ваші-виклики-ayrshare-api`,children:`Крок 5: Оновіть ваші виклики Ayrshare API`}),`\n`,_jsx(_components.p,{children:`На кроці 3 ви безпечно зберегли ці 2 елементи у вашому власному env, config або менеджері секретів:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Key`}),` (він же Consumer Key, ідентифікатор X-застосунку)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`API Secret`}),` (він же Consumer Secret)`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Тепер додайте ваші облікові дані X до заголовків ваших викликів Ayrshare API.`}),`\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:`Довідник заголовків`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Заголовок`}),_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:[`Якщо дозволи вашого застосунку налаштовані неправильно, ваш запит API може повернути помилку `,_jsx(_components.code,{children:`403 Forbidden`}),` з повідомленням: “Your client app is not configured with the appropriate OAuth1 app permissions.”`]}),`\n`]}),_jsxs(_components.p,{children:[`Якщо ви бачите цю помилку, оновіть дозволи вашого застосунку до `,_jsx(_components.strong,{children:`Read and write and Direct message`}),` у X Developer Console, потім повторно зв’яжіть ваш обліковий запис X через OAuth, щоб новий Access Token успадкував оновлені дозволи.`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`приклади-коду`,children:`Приклади коду`}),`\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:`Ваші існуючі автоматизації та робочі процеси продовжуватимуть працювати, доки ви включаєте заголовки API Key та API Secret у кожен запит, що спрямований на X.`}),`\n`,_jsx(Heading,{level:`3`,id:`migrating-existing-profiles-business--enterprise`,children:`Міграція існуючих профілів (Business та Enterprise)`}),`\n`,_jsx(_components.p,{children:`Якщо у вас є субпрофілі, які вже підключені до X через Ayrshare, ці профілі потрібно повторно підключити до їхніх облікових записів X після переходу на BYO-ключі. Це тому, що існуючі токени доступу було видано під X-застосунком Ayrshare і їх не можна використовувати з вашими consumer-ключами (підписи OAuth 1.0a прив’язані до застосунку, який видав токен).`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Включіть ваші ключі в generateJWT`,children:[_jsxs(_components.p,{children:[`Додайте `,_jsx(_components.code,{children:`twitterApiKey`}),` і `,_jsx(_components.code,{children:`twitterApiSecret`}),` до тіла вашого запиту `,_jsx(_components.a,{href:`/apis/profiles/generate-jwt#body-parameters`,children:`generateJWT`}),`. Вони шифруються та зберігаються разом із сесією підключення й не показуються вашим кінцевим користувачам.`]}),_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 передаються в тілі запиту: цей запит або `,_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:`Після генерації JWT з увімкненими ключами вашим користувачам потрібно повторно підключити свій обліковий запис X через сторінку зв’язування профілів. Екран згоди OAuth тепер відображатиме назву вашого застосунку замість Ayrshare.`}),_jsx(_components.p,{children:`Щоб оптимізувати це, ви можете:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Програмно від’єднати облікові записи через `,_jsx(_components.a,{href:`/apis/profiles/unlink-social-network`,children:`Unlink API`}),`, потім дозволити користувачам повторно авторизуватися`]}),`\n`,_jsxs(_components.li,{children:[`Використовувати `,_jsxs(_components.a,{href:`/apis/profiles/generate-jwt#param-logout`,children:[`параметр `,_jsx(_components.code,{children:`logout`})]}),` у generateJWT для примусового нового входу`]}),`\n`,_jsxs(_components.li,{children:[`Використовувати `,_jsx(_components.a,{href:`/apis/profiles/generate-jwt#param-allowed-social`,children:_jsx(_components.code,{children:`allowedSocial`})}),`, щоб показувати лише X на сторінці зв’язування під час потоку міграції`]}),`\n`]})]}),_jsx(Step,{title:`Продовжуйте надсилати заголовки у всіх викликах API`,children:_jsxs(_components.p,{children:[`Після повторного зв’язування продовжуйте включати заголовки `,_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Key`}),` та `,_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Secret`}),` у кожен виклик API (публікація, аналітика, коментарі тощо).`]})})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Після того як профіль було повторно зв’язано під вашим X-застосунком, усі наступні дописи для цього профілю використовуватимуть ваші облікові дані. Ви можете перевірити це, переглянувши сторінку Usage у вашому `,_jsx(_components.a,{href:`https://console.x.com`,children:`X Developer Console`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`перевірте-ваше-налаштування`,children:`Перевірте ваше налаштування`}),`\n`,_jsxs(_components.p,{children:[`Зробіть тестовий виклик через Ayrshare API з вашими новими заголовками, щоб підтвердити, що все працює. Ендпоінт `,_jsx(_components.a,{href:`/apis/analytics/social`,children:`/analytics/social`}),` — це хороший легкий тест, оскільки він не створюватиме жодних дописів.`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-x-api-pricing-works`,children:`Як працює ціноутворення X API`}),`\n`,_jsx(_components.p,{children:`Раніше Ayrshare покривав вартість використання API X від вашого імені. За поточної моделі X кожен клієнт Ayrshare підтримує власний X Developer account і платить X безпосередньо за запити API, які робить його застосунок. (Один X Developer account на обліковий запис Ayrshare, а не на кінцевого користувача. Усі ваші субпрофілі спільно використовують той самий X Developer account і баланс кредитів.)`}),`\n`,_jsx(_components.p,{children:`Модель ціноутворення X є pay-per-use: ви купуєте кредити в X Developer Console, і вони віднімаються, коли робляться запити API. Жодних контрактів або підписок не потрібно.`}),`\n`,_jsx(_components.p,{children:`Типові операції недорогі. Наприклад:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Операція`}),_jsx(_components.th,{children:`Приблизна вартість`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Створення допису (лише текст)`}),_jsx(_components.td,{children:`~$0.01 за допис`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Створення допису з медіа`}),_jsx(_components.td,{children:`~$0.02 за допис (завантаження медіа та створення допису — це окремі запити)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Читання допису`}),_jsx(_components.td,{children:`~$0.005 за читання`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Пошук користувача`}),_jsx(_components.td,{children:`~$0.01 за пошук`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Надсилання DM`}),_jsx(_components.td,{children:`~$0.01 за повідомлення`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Читання DM-подій`}),_jsx(_components.td,{children:`~$0.01 за подію`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Взаємодії з користувачами (підписка, лайк тощо)`}),_jsx(_components.td,{children:`~$0.015 за запит`})]})]})]}),`\n`,_jsx(_components.p,{children:`Для контексту, якщо ви публікуєте близько 100 разів на місяць, ваша пряма вартість X буде приблизно $1, а дописи з медіа — приблизно $2 на місяць.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Модель pay-per-use X наразі перебуває на пілотному етапі. Тарифи можуть змінюватися, і можуть бути введені додаткові витрати. Завжди перевіряйте Developer Console для отримання найактуальніших цін. Див. `,_jsx(_components.a,{href:`https://docs.x.com/x-api/fundamentals/pricing`,children:`огляд інформації про ціни X`}),`.`]})}),`\n`,_jsx(_components.p,{children:`Ми розуміємо, що це вводить вартість, якої не було раніше, і хочемо бути прозорими щодо цього. Водночас ця модель також розблоковує кілька переваг, які не були можливі за попередньої моделі спільних ключів.`}),`\n`,_jsx(Heading,{level:`2`,id:`переваги-використання-власного-x-api-key`,children:`Переваги використання власного X API Key`}),`\n`,_jsx(_components.p,{children:`Використання ваших власних облікових даних X API забезпечує більше контролю та надійності, ніж попередня модель спільних ключів. Це включає:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Брендований OAuth-досвід:`}),` Користувачі бачать назву та брендинг вашого застосунку під час авторизації доступу до X.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Виділені ліміти запитів:`}),` Ваше використання API регулюється лімітами вашого власного X Developer account, окремо від інших користувачів 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`}),`.`]}),`\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:`Портативність:`}),` Оскільки користувачі автентифікуються за допомогою вашого X App, ваша інтеграція залишається повністю під вашим контролем.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Видимість використання:`}),` Ваша панель X Developer показує запити API, ліміти запитів та використання кредитів.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`X — це перша платформа, яка вимагає цієї моделі, але більше платформ рухаються до “принесіть свій власний API-ключ”. Ми розширюємо цю можливість у всьому Ayrshare, щоб розробники мали такий самий контроль і незалежність на всіх соціальних платформах.`}),`\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:`Чи потрібно мені налаштовувати це для кожного клієнта / субпрофілю?`,id:`chi-potribno-meni-nalashtovuvati-tse-dlya-kozhnogo-kliyenta-subprofilyu`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Ні.`}),` Ви налаштовуєте `,_jsx(_components.strong,{children:`один`}),` X Developer App під вашим власним обліковим записом X, і ті самі `,_jsx(_components.strong,{children:`API Key + API Secret`}),` використовуються повторно для кожного субпрофілю / кінцевого користувача, якого ви підключаєте під вашим обліковим записом Ayrshare.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Ви створюєте X Developer App `,_jsx(_components.strong,{children:`один раз`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Ви передаєте ті самі два заголовки (`,_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Key`}),` та `,_jsx(_components.code,{children:`X-Twitter-OAuth1-Api-Secret`}),`) у кожному виклику Ayrshare API, незалежно від того, для якого субпрофілю призначений виклик.`]}),`\n`,_jsxs(_components.li,{children:[`Ваші кінцеві користувачі все одно кожен проходять через потік зв’язування OAuth, щоб авторизувати свій власний обліковий запис X, але їм `,_jsx(_components.strong,{children:`не`}),` потрібен власний X Developer App або API-ключі. Вони підключаються через ваш застосунок.`]}),`\n`,_jsx(_components.li,{children:`Усі субпрофілі спільно використовують один X Developer account, ті самі ліміти запитів і той самий баланс кредитів.`}),`\n`]}),_jsxs(_components.p,{children:[`Єдиний випадок, коли ви обробляєте ключі для кожного профілю, — це в тілі `,_jsx(_components.a,{href:`/apis/profiles/generate-jwt`,children:`generateJWT`}),` під час міграції, але це ті самі два ваші ключі, просто доставлені на сторінку зв’язування, щоб кінцеві користувачі могли повторно авторизуватися під вашим застосунком.`]})]}),_jsx(Accordion,{title:`Чи діє вимога до X API-ключа зараз?`,id:`chi-diye-vimoga-do-x-api-klyucha-zaraz`,children:_jsx(_components.p,{children:`Так. Станом на 31 березня 2026 року, усі операції X через Ayrshare потребують ваших власних облікових даних X API. Якщо ви ще не налаштували свій X Developer account, дотримуйтесь кроків вище.`})}),_jsx(Accordion,{title:`Що станеться, якщо я не додам мій X API-ключ до Ayrshare?`,id:`scho-stanetsya-yakscho-ya-ne-dodam-miy-x-api-klyuch-do-ayrshare`,children:_jsx(_components.p,{children:`Публікація в X через Ayrshare потребує ваших власних облікових даних X API. Запити без валідних BYO-облікових даних відхиляються. Публікація на інші платформи (Instagram, LinkedIn, Facebook, TikTok тощо) не зачіпається.`})}),_jsx(Accordion,{title:`Скільки коштує X API?`,id:`skilki-koshtuye-x-api`,children:_jsxs(_components.p,{children:[`X стягує плату за кожен виклик API. Створення допису коштує близько $0.01, а читання допису — близько $0.005. Наприклад, публікація 100 дописів на місяць коштувала б приблизно $1. Див. `,_jsx(_components.a,{href:`https://docs.x.com/x-api/fundamentals/pricing`,children:`сторінку ціноутворення X`}),` для повних деталей.`]})}),_jsx(Accordion,{title:`Чи змінює це ціну моєї підписки Ayrshare?`,id:`chi-zminyuye-tse-tsinu-moyeyi-pidpiski-ayrshare`,children:_jsx(_components.p,{children:`Ні. Ціна вашої підписки Ayrshare залишається незмінною. Єдиною додатковою вартістю є плата за використання X API, що виставляється безпосередньо X через ваш developer account.`})}),_jsx(Accordion,{title:`Чи зберігає Ayrshare мої облікові дані X API?`,id:`chi-zberigaye-ayrshare-moyi-oblikovi-dani-x-api`,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. Чи можу я використовувати існуючий ключ?`,id:`u-mene-vzhe-ye-x-developer-account-chi-mozhu-ya-vikoristovuvati-isnuyuchiy-klyuch`,children:[_jsx(_components.p,{children:`Так. Ви можете використовувати ваш існуючий X App, доки в ньому увімкнено дозволи “Read and write” (та Direct Messages, якщо ви використовуєте функції DM).`}),_jsx(_components.p,{children:`Вам знадобляться ваші API Key (Consumer Key) та API Secret (Consumer Secret) з розділу Keys and tokens у X Developer Console. Підключіть ваш обліковий запис X через OAuth, потім включіть ці 2 заголовки у ваші запити Ayrshare API.`}),_jsx(_components.p,{children:`Якщо ви змінили дозволи вашого застосунку після початкового налаштування, повторно підключіть ваш обліковий запис X, щоб Access Token успадкував оновлені дозволи.`})]}),_jsx(Accordion,{title:`X Developer Portal показує багато облікових даних. Які з них мені насправді потрібні?`,id:`x-developer-portal-pokazuye-bagato-oblikovikh-danikh-yaki-z-nikh-meni-naspravdi-potribni`,children:_jsxs(_components.p,{children:[`Вам потрібні ваші API Key (Consumer Key) та API Secret (Consumer Secret). Див. `,_jsx(_components.a,{href:`#header-reference`,children:`таблицю довідника заголовків`}),` вище, щоб дізнатися, до якого саме заголовка Ayrshare відповідає кожен з них. Ви можете ігнорувати Client ID, Client Secret, Bearer Token, Access Token та Access Token Secret.`]})}),_jsxs(Accordion,{title:`Яка різниця між 'API Key' і 'Client ID'?`,id:`yaka-riznitsya-mizh-api-key-i-client-id`,children:[_jsx(_components.p,{children:`Це абсолютно різні облікові дані для різних методів автентифікації:`}),_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, токени ніколи не закінчуються, і логіка оновлення не потрібна.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Client ID`}),` — для OAuth 2.0. Вам НЕ потрібно це для Ayrshare. Токени OAuth 2.0 закінчуються через короткий період і потребують керування refresh-токенами.`]}),`\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:`chomu-oauth-1-0a-a-ne-oauth-2-0`,children:_jsx(_components.p,{children:`Токени доступу OAuth 2.0 закінчуються кожні 2 години, а refresh-токени X — одноразові (кожне оновлення анулює старий токен). Це унеможливлює підтримку stateless BYO-моделі, особливо для запланованих дописів. Токени OAuth 1.0a ніколи не закінчуються, працюють з усіма функціями X і не потребують керування токенами.`})}),_jsx(Accordion,{title:`Чи потрібно моїм існуючим користувачам повторно підключати свої облікові записи X?`,id:`chi-potribno-moyim-isnuyuchim-koristuvacham-povtorno-pidklyuchati-svoyi-oblikovi-zapisi-x`,children:_jsxs(_components.p,{children:[`Так. Якщо ваші користувачі підключили X через Ayrshare до того, як ви налаштували BYO-ключі, їм потрібно буде повторно підключитися. Існуючі токени доступу було видано під X-застосунком Ayrshare і вони не працюватимуть з вашими consumer-ключами. Див. `,_jsx(_components.a,{href:`#migrating-existing-profiles-business--enterprise`,children:`Міграція існуючих профілів`}),` вище для покрокового процесу.`]})}),_jsx(Accordion,{title:`Чи впливає ця зміна на публікацію в Instagram, LinkedIn або інших платформах?`,id:`chi-vplivaye-tsya-zmina-na-publikatsiyu-v-instagram-linkedin-abo-inshikh-platformakh`,children:_jsx(_components.p,{children:`Ні. Ця зміна впливає лише на публікацію в X. Усі інші інтеграції платформ в Ayrshare продовжують працювати як зазвичай.`})}),_jsxs(Accordion,{title:`А як щодо RSS/Feed автопублікації в X?`,id:`a-yak-schodo-rss-feed-avtopublikatsiyi-v-x`,children:[_jsx(_components.p,{children:`RSS-автопублікація в X більше не підтримується. RSS-стрічки працюють автоматично за розкладом, але модель bring-your-own API key вимагає, щоб облікові дані надавалися з кожним запитом API. Через це RSS-стрічки не можуть автентифікуватися, коли надсилається допис.`}),_jsxs(_components.p,{children:[`Якщо ви раніше використовували RSS для публікації в X, ми рекомендуємо перейти на `,_jsx(_components.a,{href:`/apis/post/overview#schedule-posts`,children:`заплановані дописи`}),` або прямі виклики API, що включають ваші облікові дані. RSS-автопублікація на всі інші платформи залишається без змін.`]})]}),_jsx(Accordion,{title:`Чому я отримую помилку 402 \"CreditsDepleted\"?`,id:`chomu-ya-otrimuyu-pomilku-402-creditsdepleted`,children:_jsxs(_components.p,{children:[`Це означає, що ваш X Developer account не має доступних API-кредитів. Перейдіть на `,_jsx(_components.a,{href:`https://console.x.com`,children:`console.x.com`}),` → `,_jsx(_components.strong,{children:`Billing → Credits`}),` і купіть кредити. Навіть $5 достатньо для сотень викликів API. Після завантаження кредитів повторіть ваш запит.`]})}),_jsxs(Accordion,{title:`Чому я отримую помилку 403 \"Forbidden: OAuth1 App Permissions\"?`,id:`chomu-ya-otrimuyu-pomilku-403-forbidden-oauth1-app-permissions`,children:[_jsx(_components.p,{children:`Ваш Access Token не має правильних дозволів. Це зазвичай означає одне з двох:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Дозволи вашого застосунку встановлено як “Read” замість “Read and write.”`}),` Перейдіть до Settings вашого застосунку в Developer Console і змініть на `,_jsx(_components.strong,{children:`Read and write and Direct message`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Ви змінили дозволи після зв’язування облікового запису X.`}),` Access Tokens зберігають дозволи, з якими вони були створені. Повторно зв’яжіть ваш обліковий запис X через OAuth, щоб новий токен успадкував оновлені дозволи.`]}),`\n`]})]}),_jsx(Accordion,{title:`Що робити, якщо мені потрібна допомога з налаштуванням?`,id:`scho-robiti-yakscho-meni-potribna-dopomoga-z-nalashtuvannyam`,children:_jsxs(_components.p,{children:[`Наша команда підтримки рада допомогти. Якщо у вас виникнуть питання або проблеми під час налаштування, будь ласка, звертайтеся через `,_jsx(_components.a,{href:`mailto:support@ayrshare.com`,children:`support@ayrshare.com`}),`, і ми проведемо вас через процес.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Усунення несправностей`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Я отримую помилку 400 про відсутні заголовки`,id:`ya-otrimuyu-pomilku-400-pro-vidsutni-zagolovki`,children:[_jsx(_components.p,{children:`Переконайтеся, що ви надсилаєте обидва обов’язкові заголовки:`}),_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:`Якщо ви бачите помилку невідповідності пари (наприклад, “You provided Api-Key but not Api-Secret”), це означає, що один з двох відсутній. Обидва завжди обов’язкові.`}),_jsx(_components.p,{children:`Повідомлення про помилку скаже вам, який саме заголовок відсутній.`})]}),_jsxs(Accordion,{title:`Я отримую помилку 403: \"Callback URL not approved\"`,children:[_jsx(_components.p,{children:`Якщо ви бачите цю помилку під час спроби зв’язати обліковий запис X, переконайтеся, що ви додали необхідні URL зворотного виклику до налаштувань вашого X Developer App (під Authentication settings > Callback URI / Redirect URL):`}),_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`}),` вище.`]})]}),_jsx(Accordion,{title:`Я отримую помилку 402: \"CreditsDepleted\"`,children:_jsxs(_components.p,{children:[`Ваш X Developer account не має завантажених API-кредитів. Перейдіть на `,_jsx(_components.a,{href:`https://console.x.com`,children:`console.x.com`}),` → `,_jsx(_components.strong,{children:`Billing → Credits`}),` і купіть кредити. Навіть $5 достатньо для сотень викликів API.`]})}),_jsxs(Accordion,{title:`Я отримую помилку 403: \"oauth1 app permissions\"`,children:[_jsx(_components.p,{children:`Ваш Access Token не має правильних дозволів. Це зазвичай означає:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Дозволи вашого застосунку встановлено як “Read” замість “Read and write.”`}),` Перейдіть до Settings вашого застосунку в Developer Console і змініть на `,_jsx(_components.strong,{children:`Read and write and Direct message`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Ви змінили дозволи після зв’язування облікового запису X.`}),` Access Tokens зберігають дозволи, з якими вони були створені. Повторно зв’яжіть ваш обліковий запис X через OAuth, щоб новий токен успадкував оновлені дозволи.`]}),`\n`]})]}),_jsxs(Accordion,{title:`Я отримую помилку 403: \"Client Forbidden\" (client-not-enrolled)`,children:[_jsxs(_components.p,{children:[`Ваш застосунок X не зареєстровано для X API v2. Так буває, коли застосунок перебуває в пакеті `,_jsx(_components.strong,{children:`Standalone`}),`.`]}),_jsxs(_components.p,{children:[`У X Developer Console перемістіть застосунок із `,_jsx(_components.strong,{children:`Standalone`}),` до пакета `,_jsx(_components.strong,{children:`Pay-per-use`}),` (середовище `,_jsx(_components.strong,{children:`Production`}),`), а потім знову зв’яжіть обліковий запис X. Див. `,_jsx(_components.a,{href:`#step-2-create-an-app`,children:`Крок 2: Створіть застосунок`}),` вище.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`потрібна-допомога`,children:`Потрібна допомога?`}),`\n`,_jsxs(_components.p,{children:[`Якщо у вас виникнуть питання або проблеми під час налаштування вашого X API-ключа, наша команда інженерів рада допомогти. Ви можете зв’язатися з нами будь-коли за адресою `,_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 до Ayrshare","icon":"x-twitter","href":"/uk/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: Створіть застосунок","slug":"step-2-create-an-app","depth":2,"children":[]},{"title":"Крок 3: Налаштуйте дозволи застосунку","slug":"step-3-configure-app-permissions","depth":2,"children":[]},{"title":"Крок 4: Купіть кредити X API","slug":"крок-4-купіть-кредити-x-api","depth":2,"children":[]},{"title":"Крок 5: Оновіть ваші виклики Ayrshare API","slug":"крок-5-оновіть-ваші-виклики-ayrshare-api","depth":2,"children":[{"title":"Довідник заголовків","slug":"header-reference","depth":3,"children":[]},{"title":"Приклади коду","slug":"приклади-коду","depth":3,"children":[]},{"title":"Міграція існуючих профілів (Business та Enterprise)","slug":"migrating-existing-profiles-business--enterprise","depth":3,"children":[]},{"title":"Перевірте ваше налаштування","slug":"перевірте-ваше-налаштування","depth":3,"children":[]}]},{"title":"Як працює ціноутворення X API","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":"Усунення несправностей","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":0},"hi":{"href":"/hi/dashboard/connect-social-accounts/x-twitter-byo-keys","matchLevel":1},"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.007Z","originalFileLocation":"uk/dashboard/connect-social-accounts/x-twitter-byo-keys.mdx","locale":"uk"},"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 до 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 до 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/uk/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=%D0%9D%D0%B0%D0%BB%D0%B0%D1%88%D1%82%D1%83%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F+%D0%B2%D0%BB%D0%B0%D1%81%D0%BD%D0%BE%D0%B3%D0%BE+X+API+Key\u0026amp;description=%D0%9F%D0%BE%D0%BA%D1%80%D0%BE%D0%BA%D0%BE%D0%B2%D0%B8%D0%B9+%D0%BF%D0%BE%D1%81%D1%96%D0%B1%D0%BD%D0%B8%D0%BA+%D0%B7+%D0%BF%D1%96%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%BD%D1%8F+%D0%B2%D0%BB%D0%B0%D1%81%D0%BD%D0%B8%D1%85+%D0%BE%D0%B1%D0%BB%D1%96%D0%BA%D0%BE%D0%B2%D0%B8%D1%85+%D0%B4%D0%B0%D0%BD%D0%B8%D1%85+X+%28Twitter%29+API+%D0%B4%D0%BE+Ayrshare\u0026amp;theme=722a7095c53b95fd5a0669f2\u0026amp;signature=62ce680c448c5ac48b58c351eef1661f0debc43fa6d50a51912fff6d1fdba587\">\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 до 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=%D0%9D%D0%B0%D0%BB%D0%B0%D1%88%D1%82%D1%83%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F+%D0%B2%D0%BB%D0%B0%D1%81%D0%BD%D0%BE%D0%B3%D0%BE+X+API+Key\u0026amp;description=%D0%9F%D0%BE%D0%BA%D1%80%D0%BE%D0%BA%D0%BE%D0%B2%D0%B8%D0%B9+%D0%BF%D0%BE%D1%81%D1%96%D0%B1%D0%BD%D0%B8%D0%BA+%D0%B7+%D0%BF%D1%96%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%BD%D1%8F+%D0%B2%D0%BB%D0%B0%D1%81%D0%BD%D0%B8%D1%85+%D0%BE%D0%B1%D0%BB%D1%96%D0%BA%D0%BE%D0%B2%D0%B8%D1%85+%D0%B4%D0%B0%D0%BD%D0%B8%D1%85+X+%28Twitter%29+API+%D0%B4%D0%BE+Ayrshare\u0026amp;theme=722a7095c53b95fd5a0669f2\u0026amp;signature=62ce680c448c5ac48b58c351eef1661f0debc43fa6d50a51912fff6d1fdba587\">\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/uk/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/uk/dashboard/connect-social-accounts/x-twitter-byo-keys.md\">\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=\"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=\"hi\" href=\"https://www.ayrshare.com/docs/hi/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/uk/dashboard/connect-social-accounts/x-twitter-byo-keys#webpage\",\"url\":\"https://www.ayrshare.com/docs/uk/dashboard/connect-social-accounts/x-twitter-byo-keys\",\"name\":\"Налаштування власного X API Key\",\"description\":\"Покроковий посібник з підключення власних облікових даних X (Twitter) API до Ayrshare\",\"dateModified\":\"2026-11-23T12:46:02.007Z\",\"isPartOf\":{\"@id\":\"https://www.ayrshare.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.ayrshare.com/docs/uk/dashboard/connect-social-accounts/x-twitter-byo-keys#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.ayrshare.com/docs/uk/dashboard/connect-social-accounts/x-twitter-byo-keys#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Dashboard\",\"item\":\"https://www.ayrshare.com/docs/uk/dashboard/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connect Social Accounts\",\"item\":\"https://www.ayrshare.com/docs/uk/dashboard/connect-social-accounts/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Налаштування власного X API Key\",\"item\":\"https://www.ayrshare.com/docs/uk/dashboard/connect-social-accounts/x-twitter-byo-keys\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.ayrshare.com/docs/uk/dashboard/connect-social-accounts/x-twitter-byo-keys#article\",\"headline\":\"Налаштування власного X API Key\",\"name\":\"Налаштування власного X API Key\",\"description\":\"Покроковий посібник з підключення власних облікових даних X (Twitter) API до Ayrshare\",\"url\":\"https://www.ayrshare.com/docs/uk/dashboard/connect-social-accounts/x-twitter-byo-keys\",\"mainEntityOfPage\":{\"@id\":\"https://www.ayrshare.com/docs/uk/dashboard/connect-social-accounts/x-twitter-byo-keys#webpage\"},\"dateModified\":\"2026-11-23T12:46:02.007Z\",\"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/uk/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","anchors":[{"anchor":"Documentation","icon":"code","groups":[{"group":"Get Started","pages":[{"title":"API Ayrshare для соціальних мереж","href":"/uk/introduction"},{"title":"Посібник швидкого старту","href":"/uk/quickstart"},{"group":"MCP Server","pages":[{"title":"MCP-сервер Ayrshare: керуйте API за допомогою AI-агентів","sidebarTitle":"Огляд","icon":"robot","href":"/uk/additional/mcp-action-server"},{"title":"Під'єднання до MCP Server","sidebarTitle":"Під'єднання і налаштування","icon":"plug","href":"/uk/additional/mcp-action-connect"},{"title":"Каталог інструментів MCP","sidebarTitle":"Каталог інструментів","icon":"list","href":"/uk/additional/mcp-action-tools"},{"title":"Claude Code Plugin","icon":"terminal","href":"/uk/additional/mcp-claude-code-plugin"},{"title":"n8n","icon":"diagram-project","href":"/uk/additional/mcp-n8n"},{"title":"Підключення соціальних акаунтів клієнтів","sidebarTitle":"Підключення клієнтів","icon":"user-plus","href":"/uk/additional/mcp-client-onboarding"},{"title":"Documentation MCP","sidebarTitle":"Documentation MCP","icon":"magnifying-glass","href":"/uk/additional/mcp-server"}]}]},{"group":"API Endpoints","pages":[{"title":"Огляд Ayrshare API","href":"/uk/apis/overview"},{"group":"GraphQL","pages":[{"title":"Огляд GraphQL API","href":"/uk/apis/graphql/overview"},{"title":"Використання GraphQL API","href":"/uk/apis/graphql/using-the-api"},{"title":"Помилки GraphQL","href":"/uk/apis/graphql/errors"},{"title":"Ліміти та білінг GraphQL","href":"/uk/apis/graphql/limits"},{"title":"Оголошення","href":"/uk/apis/graphql/ads"}]},{"group":"Ads","pages":[{"title":"Ads API: просування публікацій Meta і керування Google Ads","sidebarTitle":"Огляд Ads API","href":"/uk/apis/ads/overview"},{"title":"Рекламні кампанії","href":"/uk/apis/ads/campaigns"},{"group":"Facebook Ads","pages":[{"title":"Accounts","api":"GET /ads/facebook/accounts","href":"/uk/apis/ads/facebook/get-ad-accounts"},{"title":"Кампанії","api":"GET /ads/facebook/campaigns","href":"/uk/apis/ads/facebook/get-ad-campaigns"},{"title":"Просування допису","api":"POST /ads/facebook/boost","href":"/uk/apis/ads/facebook/boost-post"},{"title":"Просунуті оголошення","api":"GET /ads/facebook/ads","href":"/uk/apis/ads/facebook/get-boosted-ads"},{"title":"Історія","api":"GET /ads/facebook/history","href":"/uk/apis/ads/facebook/get-ad-history"},{"title":"Insights","api":"GET /ads/facebook/insights","href":"/uk/apis/ads/facebook/get-ad-insights"},{"title":"Інтереси","api":"GET /ads/facebook/interests","href":"/uk/apis/ads/facebook/get-ad-interests"},{"title":"Регіони","api":"GET /ads/facebook/regions","href":"/uk/apis/ads/facebook/get-ad-regions"},{"title":"Міста","api":"GET /ads/facebook/cities","href":"/uk/apis/ads/facebook/get-ad-cities"},{"title":"DSA-рекомендації","api":"GET /ads/facebook/dsaRecommendations","href":"/uk/apis/ads/facebook/get-dsa-recommendations"},{"title":"Оновити рекламу","api":"PUT /ads/facebook/ads","href":"/uk/apis/ads/facebook/put-ad-update"},{"title":"Аудиторії","api":"GET /ads/facebook/audiences","href":"/uk/apis/ads/facebook/get-audiences"},{"title":"Створити аудиторію","api":"POST /ads/facebook/audiences","href":"/uk/apis/ads/facebook/create-audience"},{"title":"Видалити аудиторію","api":"DELETE /ads/facebook/audiences/{id}","href":"/uk/apis/ads/facebook/delete-audience"},{"title":"Учасники аудиторії","api":"POST /ads/facebook/audiences/{id}/users","href":"/uk/apis/ads/facebook/audience-members"}]},{"group":"Instagram Ads","pages":[{"title":"Accounts","api":"GET /ads/instagram/accounts","href":"/uk/apis/ads/instagram/get-ad-accounts"},{"title":"Кампанії","api":"GET /ads/instagram/campaigns","href":"/uk/apis/ads/instagram/get-ad-campaigns"},{"title":"Регіони","api":"GET /ads/instagram/regions","href":"/uk/apis/ads/instagram/get-ad-regions"},{"title":"Міста","api":"GET /ads/instagram/cities","href":"/uk/apis/ads/instagram/get-ad-cities"},{"title":"DSA-рекомендації","api":"GET /ads/instagram/dsaRecommendations","href":"/uk/apis/ads/instagram/get-dsa-recommendations"},{"title":"Просування допису","api":"POST /ads/instagram/boost","href":"/uk/apis/ads/instagram/boost-post"},{"title":"Просунуті оголошення","api":"GET /ads/instagram/ads","href":"/uk/apis/ads/instagram/get-boosted-ads"},{"title":"Історія","api":"GET /ads/instagram/history","href":"/uk/apis/ads/instagram/get-ad-history"},{"title":"Insights","api":"GET /ads/instagram/insights","href":"/uk/apis/ads/instagram/get-ad-insights"},{"title":"Інтереси","api":"GET /ads/instagram/interests","href":"/uk/apis/ads/instagram/get-ad-interests"},{"title":"Оновити рекламу","api":"PUT /ads/instagram/ads","href":"/uk/apis/ads/instagram/put-ad-update"},{"title":"Аудиторії","api":"GET /ads/instagram/audiences","href":"/uk/apis/ads/instagram/get-audiences"},{"title":"Створити аудиторію","api":"POST /ads/instagram/audiences","href":"/uk/apis/ads/instagram/create-audience"},{"title":"Видалити аудиторію","api":"DELETE /ads/instagram/audiences/{id}","href":"/uk/apis/ads/instagram/delete-audience"},{"title":"Учасники аудиторії","api":"POST /ads/instagram/audiences/{id}/users","href":"/uk/apis/ads/instagram/audience-members"}]},{"group":"Google Ads","pages":[{"title":"Accounts","api":"GET /ads/google/accounts","href":"/uk/apis/ads/google/get-ad-accounts"},{"title":"Пошукові кампанії Google","sidebarTitle":"Пошукові кампанії","api":"POST /ads/google/campaigns","href":"/uk/apis/ads/google/search-campaigns"},{"title":"Кампанії Google Performance Max","sidebarTitle":"Кампанії Performance Max","api":"POST /ads/google/campaigns","href":"/uk/apis/ads/google/performance-max-campaigns"},{"title":"Отримати кампанію","api":"GET /ads/google/campaigns/{id}","href":"/uk/apis/ads/google/get-campaign"},{"title":"Оновити кампанію","api":"PUT /ads/google/campaigns/{id}","href":"/uk/apis/ads/google/update-campaign"},{"title":"Insights","api":"GET /ads/google/insights","href":"/uk/apis/ads/google/get-ad-insights"}]},{"group":"TikTok Ads","pages":[{"title":"Просування допису","api":"POST /ads/tiktok/boost","href":"/uk/apis/ads/tiktok/boost"}]},{"group":"Boost on Behalf","pages":[{"title":"Просування дописів вашої команди","href":"/uk/apis/ads/delegations/boost-on-behalf"},{"title":"Створення делегувань просування","api":"POST /ads/delegations","href":"/uk/apis/ads/delegations/create-delegations"},{"title":"Отримання делегувань просування","api":"GET /ads/delegations","href":"/uk/apis/ads/delegations/get-delegations"},{"title":"Відкликання делегування просування","api":"DELETE /ads/delegations/:id","href":"/uk/apis/ads/delegations/delete-delegation"}]}]},{"group":"Analytics","pages":[{"title":"Analytics API: метрики постів, акаунтів і посилань","sidebarTitle":"Огляд Analytics API","href":"/uk/apis/analytics/overview"},{"title":"Аналітика публікації","api":"POST /analytics/post","href":"/uk/apis/analytics/post"},{"title":"Аналітика допису за Social ID","api":"POST /analytics/post","href":"/uk/apis/analytics/social-by-id"},{"title":"Аналітика в соціальній мережі","api":"POST /analytics/social","href":"/uk/apis/analytics/social"},{"title":"Плейлисти YouTube","api":"GET /analytics/youTubePlaylists","href":"/uk/apis/analytics/youtube-playlists"},{"title":"Кількість підписників Instagram онлайн","api":"GET /analytics/getInstagramOnlineFollowers","href":"/uk/apis/analytics/instagram-follower-count"}]},{"group":"Auto Schedule","pages":[{"title":"Огляд Auto Schedule","href":"/uk/apis/auto-schedule/overview"},{"title":"Налаштувати автоматичний розклад","api":"POST /auto-schedule/set","href":"/uk/apis/auto-schedule/set-schedule"},{"title":"Видалити автоматичний розклад","api":"DELETE /auto-schedule/delete","href":"/uk/apis/auto-schedule/delete-schedule"},{"title":"Список автопланувань","api":"GET /auto-schedule/list","href":"/uk/apis/auto-schedule/list-schedule"},{"title":"Отримати очікувані дописи автопланувальника","api":"GET /auto-schedule/pending","href":"/uk/apis/auto-schedule/pending-auto-schedule"}]},{"group":"Automations","tag":"BETA","pages":[{"title":"Огляд Automations API","href":"/uk/apis/automations/overview"},{"title":"Створити автоматизацію","api":"POST /automations","href":"/uk/apis/automations/create-automation"},{"title":"Список автоматизацій","api":"GET /automations","href":"/uk/apis/automations/list-automations"},{"title":"Отримати автоматизацію","api":"GET /automations/:id","href":"/uk/apis/automations/get-automation"},{"title":"Оновлення автоматизації","api":"PUT /automations/:id","href":"/uk/apis/automations/update-automation"},{"title":"Видалити автоматизацію","api":"DELETE /automations/:id","href":"/uk/apis/automations/delete-automation"},{"title":"Отримати активність автоматизації","api":"GET /automations/:id/activity","href":"/uk/apis/automations/get-activity"}]},{"group":"Brand","pages":[{"title":"Brand API: Дані публічних облікових записів і конкурентів","href":"/uk/apis/brand/overview"}]},{"group":"Comments","pages":[{"title":"Огляд Comments API","href":"/uk/apis/comments/overview"},{"title":"Опублікувати коментар","api":"POST /comments","href":"/uk/apis/comments/post-comment"},{"title":"Отримати коментарі","api":"GET /comments/:id","href":"/uk/apis/comments/get-comments"},{"title":"Видалення коментарів","api":"DELETE /comments/:id","href":"/uk/apis/comments/delete-comments"},{"title":"Відповідь на коментар","api":"POST /comments/reply/:commentId","href":"/uk/apis/comments/reply-to-comment"}]},{"group":"Feed","pages":[{"title":"Огляд RSS-стрічок","href":"/uk/apis/feeds/overview"},{"title":"Додати RSS-стрічку","api":"POST /feed","href":"/uk/apis/feeds/add-feed"},{"title":"Видалити RSS-стрічку","api":"DELETE /feed","href":"/uk/apis/feeds/delete-feed"},{"title":"Отримати RSS-стрічки","api":"GET /feed","href":"/uk/apis/feeds/get-feeds"},{"title":"Оновлення RSS-стрічки","api":"PUT /feed","href":"/uk/apis/feeds/update-feed"}]},{"group":"Generate","pages":[{"title":"Огляд Generate API","href":"/uk/apis/generate/overview"},{"title":"Генерування тексту поста","api":"POST /generate/post","href":"/uk/apis/generate/post-text"},{"title":"Переписування публікації","api":"POST /generate/rewrite","href":"/uk/apis/generate/rewrite-post"},{"title":"Транскрибувати відео","api":"POST /generate/transcription","href":"/uk/apis/generate/transcribe-video"},{"title":"Переклад поста","api":"POST /generate/translate","href":"/uk/apis/generate/translate-post"},{"title":"Генерація alt-тексту","api":"POST /generate/altText","href":"/uk/apis/generate/image-alt-text"},{"title":"Аналіз настроїв","api":"POST /generate/sentiment","href":"/uk/apis/generate/sentiment"}]},{"group":"Hashtags","pages":[{"title":"Огляд Hashtags API","href":"/uk/apis/hashtags/overview"},{"title":"Автохештеги","api":"POST /hashtags/auto","href":"/uk/apis/hashtags/auto-hashtags"},{"title":"Перевірка заборонених хештегів","api":"GET /hashtags/banned","href":"/uk/apis/hashtags/check-hashtags"},{"title":"Рекомендація хештегів","api":"GET /hashtags/recommend","href":"/uk/apis/hashtags/recommend-hashtags"},{"title":"Пошук хештегів","api":"GET /hashtags/search","href":"/uk/apis/hashtags/search-hashtags"}]},{"group":"History","pages":[{"title":"Огляд History API","href":"/uk/apis/history/overview"},{"title":"Історія дописів","api":"GET /history","href":"/uk/apis/history/get-history"},{"title":"Історія посту за ID","api":"GET /history/:id","href":"/uk/apis/history/get-history-id"},{"title":"Отримати історію постів для соціальної платформи","api":"GET /history/:platform","href":"/uk/apis/history/history-platform"},{"title":"Історія постів за Social ID","api":"GET /history/:socialId","href":"/uk/apis/history/history-social-id"}]},{"group":"Links","pages":[{"title":"Огляд Links API","href":"/uk/apis/links/overview"},{"title":"Створити коротке посилання","api":"POST /links","href":"/uk/apis/links/create-short-link"},{"title":"Оновити коротке посилання","api":"PUT /links/:id","href":"/uk/apis/links/update-short-link"},{"title":"Аналітика посилань","api":"GET /links/:id","href":"/uk/apis/links/link-analytics"}]},{"group":"Listening","pages":[{"title":"Listen API: моніторинг та згадки в соціальних мережах","href":"/uk/apis/listen/overview"},{"title":"Отримати дані бренду","api":"GET /brand/byUser","href":"/uk/apis/listen/brand-user"},{"group":"Search","pages":[{"title":"Пошук сторінок Facebook","api":"GET /brand/search/facebook","href":"/uk/apis/listen/search/fb-page-search"},{"title":"Пошук у LinkedIn","api":"GET /brand/search/linkedin","href":"/uk/apis/listen/search/linkedin-search"}]},{"group":"Keyword","pages":[{"title":"Пошук твітів за ключовим словом","api":"GET /listen/keyword","href":"/uk/apis/listen/keyword/search-tweets"}]}]},{"group":"Media","pages":[{"title":"Огляд Media API","href":"/uk/apis/media/overview"},{"title":"Завантаження зображення або відео","api":"POST /media/upload","href":"/uk/apis/media/upload-media"},{"title":"Завантаження великих медіафайлів","api":"GET /media/uploadUrl","href":"/uk/apis/media/upload-large-media"},{"title":"Перевірка існування Media URL","api":"POST /media/urlExists","href":"/uk/apis/media/verify-media-url"},{"title":"Отримати всі медіа з галереї","api":"GET /media","href":"/uk/apis/media/get-media-in-gallery"},{"title":"Змінити розмір зображення","api":"POST /media/resize","href":"/uk/apis/media/resize"},{"title":"Метадані медіафайлу","api":"GET /media/meta","href":"/uk/apis/media/get-media-metadata"},{"title":"Пошук аудіо Instagram","api":"GET /media/instagram/audio/search","href":"/uk/apis/media/search-instagram-audio"},{"title":"Метадані аудіо Instagram","api":"GET /media/instagram/audio/{audioId}","href":"/uk/apis/media/get-instagram-audio"}]},{"group":"Messages","pages":[{"title":"Огляд Messages API","href":"/uk/apis/messages/overview"},{"title":"Надсилання повідомлення","api":"POST /messages/:platform","href":"/uk/apis/messages/send-message"},{"title":"Отримати повідомлення","api":"GET /messages/:platform","href":"/uk/apis/messages/get-messages"},{"title":"Оновити повідомлення","api":"PUT /messages/:platform/:conversationId","href":"/uk/apis/messages/update-messages"},{"title":"Встановити автовідповідь","api":"POST /messages/autoresponse","href":"/uk/apis/messages/set-auto-response"},{"title":"Get Auto Response","api":"GET /messages/autoresponse","href":"/uk/apis/messages/get-auto-response"}]},{"group":"Post","pages":[{"title":"Огляд Post API","href":"/uk/apis/post/overview"},{"title":"Publish a Post API: Публікація в будь-яку соціальну мережу","api":"POST /post","href":"/uk/apis/post/post"},{"title":"Отримати допис","api":"GET /post/:id","href":"/uk/apis/post/get-post"},{"title":"Видалити публікацію","api":"DELETE /post","href":"/uk/apis/post/delete-post"},{"title":"Оновити допис","api":"PATCH /post","href":"/uk/apis/post/update-post"},{"title":"Повторити спробу публікації допису","api":"PUT /post/retry","href":"/uk/apis/post/retry-post"},{"title":"Copy a Post","api":"POST /post/copy","href":"/uk/apis/post/copy-post"},{"title":"Масова публікація","api":"POST /post/bulk","href":"/uk/apis/post/bulk-post"},{"group":"Social Networks","pages":[{"title":"Підтримувані соціальні мережі","href":"/uk/apis/post/social-networks/overview"},{"title":"Bluesky API","icon":"bluesky","href":"/uk/apis/post/social-networks/bluesky"},{"title":"Facebook Page API","icon":"facebook","href":"/uk/apis/post/social-networks/facebook"},{"title":"Google Business Profile API","icon":"google","href":"/uk/apis/post/social-networks/google"},{"title":"Instagram API","icon":"instagram","href":"/uk/apis/post/social-networks/instagram"},{"title":"LinkedIn API","icon":"linkedin","href":"/uk/apis/post/social-networks/linkedin"},{"title":"Pinterest API","icon":"pinterest","href":"/uk/apis/post/social-networks/pinterest"},{"title":"Reddit API","icon":"reddit","href":"/uk/apis/post/social-networks/reddit"},{"title":"Snapchat API","icon":"snapchat","href":"/uk/apis/post/social-networks/snapchat"},{"title":"Telegram API","icon":"telegram","href":"/uk/apis/post/social-networks/telegram"},{"title":"Threads API","icon":"threads","href":"/uk/apis/post/social-networks/threads"},{"title":"TikTok API","icon":"tiktok","href":"/uk/apis/post/social-networks/tiktok"},{"title":"X API","icon":"x-twitter","href":"/uk/apis/post/social-networks/x-twitter"},{"title":"YouTube API","icon":"youtube","href":"/uk/apis/post/social-networks/youtube"}]}]},{"group":"Profiles","pages":[{"title":"Огляд Profiles API","href":"/uk/apis/profiles/overview"},{"title":"Create a User Profile","api":"POST /profiles","href":"/uk/apis/profiles/create-profile"},{"title":"Видалення User Profile","api":"DELETE /profiles","href":"/uk/apis/profiles/delete-profile"},{"title":"Оновити User Profile","api":"PATCH /profiles","href":"/uk/apis/profiles/update-profile"},{"title":"Get User Profiles","api":"GET /profiles","href":"/uk/apis/profiles/get-profiles"},{"title":"Від'єднати соціальну мережу","api":"DELETE /profiles/social","href":"/uk/apis/profiles/unlink-social-network"},{"title":"Огляд соціального зв'язування","href":"/uk/apis/profiles/social-linking-overview"},{"title":"Створення Link Session","api":"POST /profiles/link-sessions","href":"/uk/apis/profiles/create-link-session"},{"title":"Отримання Link Session","api":"GET /profiles/link-sessions/{sessionId}","href":"/uk/apis/profiles/get-link-session"},{"title":"Відкликання Link Session","api":"DELETE /profiles/link-sessions/{sessionId}","href":"/uk/apis/profiles/revoke-link-session"},{"title":"Генерація URL для підключення (generateJWT)","api":"POST /profiles/generateJWT","deprecated":true,"href":"/uk/apis/profiles/generate-jwt"}]},{"group":"Reviews","pages":[{"title":"Reviews API Overview","href":"/uk/apis/reviews/overview"},{"title":"Отримання всіх відгуків","api":"GET /reviews","href":"/uk/apis/reviews/get-reviews"},{"title":"Отримати один відгук","api":"GET /reviews/:id","href":"/uk/apis/reviews/get-one-review"},{"title":"Відповідь на відгук","api":"POST /reviews","href":"/uk/apis/reviews/reply-review"},{"title":"Видалити відповідь на відгук","api":"DELETE /reviews","href":"/uk/apis/reviews/delete-review-reply"}]},{"group":"User","pages":[{"title":"Огляд User Profile API","href":"/uk/apis/user/overview"},{"title":"Деталі User Profile","api":"GET /user","href":"/uk/apis/user/profile-details"},{"title":"Pinterest Boards","api":"GET /user/details/pinterest","href":"/uk/apis/user/pinterest-board"},{"title":"Оновити користувача","api":"PATCH /user/:platform","href":"/uk/apis/user/update-user"},{"title":"Бізнес-профіль WhatsApp","api":"GET /user/details/whatsapp","href":"/uk/apis/user/whatsapp-profile"},{"title":"Пакетне отримання всіх","api":"GET /user/batch","href":"/uk/apis/user/batch-all-users"}]},{"group":"Utils","pages":[{"title":"Статус запиту на співавтора","api":"GET /post/collaborators/:id","href":"/uk/apis/utils/instagram-get-collaborator"},{"title":"Reddit Flair","api":"GET /post/redditFlair/:subreddit","href":"/uk/apis/utils/reddit-get-flair"},{"title":"User Lookups","api":"GET /user/lookups","href":"/uk/apis/utils/user-lookups"},{"group":"YouTube","pages":[{"title":"Категорії YouTube","api":"GET /post/youtubeCategories/:region","href":"/uk/apis/utils/youtube-categories"},{"title":"Set YouTube Watermark","api":"POST /post/youTubeWatermark","href":"/uk/apis/utils/set-youtube-watermark"},{"title":"Видалити водяний знак YouTube","api":"DELETE /post/youTubeWatermark","href":"/uk/apis/utils/remove-youtube-watermark"}]}]},{"group":"Validate","pages":[{"title":"Огляд Validate API","href":"/uk/apis/validate/overview"},{"title":"Валідація медіа","href":"/uk/apis/validate/validate-media"},{"title":"Перевірка довжини посту","api":"POST /validate/postLength","href":"/uk/apis/validate/check-post-length"},{"title":"Перевірка існування Subreddit","api":"GET /validate/redditExists/:subreddit","href":"/uk/apis/validate/check-subreddit"},{"title":"Модерація контенту","api":"POST /validate/moderation","href":"/uk/apis/validate/moderation"},{"title":"Валідація JSON","api":"POST /validate/json","href":"/uk/apis/validate/validate-json"},{"title":"Валідація допису","api":"POST /validate/post","href":"/uk/apis/validate/validate-post"}]},{"group":"Webhooks","pages":[{"title":"Огляд Webhooks","href":"/uk/apis/webhooks/overview"},{"title":"Дії Webhook","href":"/uk/apis/webhooks/actions"},{"title":"Реєстрація Webhook","api":"POST /hook/webhook","href":"/uk/apis/webhooks/register"},{"title":"Скасувати реєстрацію вебхука","api":"DELETE /hook/webhook","href":"/uk/apis/webhooks/unregister"},{"title":"Ротація секретного ключа підпису","api":"POST /hook/webhook/secret","href":"/uk/apis/webhooks/rotate-signing-secret"},{"title":"Список зареєстрованих вебхуків","api":"GET /hook/webhook","href":"/uk/apis/webhooks/list"},{"title":"Webhook History","api":"GET /hook/history","href":"/uk/apis/webhooks/history"}]}]},{"group":"Multiple Users","pages":[{"title":"Launch Plan: базовий multi-user Business план","href":"/uk/multiple-users/business-launch-overview"},{"title":"Огляд Business Plan","href":"/uk/multiple-users/business-plan-overview"},{"title":"Інтеграція користувачів","href":"/uk/multiple-users/user-integration"},{"title":"Інтеграція API для бізнесу","href":"/uk/multiple-users/api-integration-business"},{"title":"Віджет Ayrshare Connect","href":"/uk/multiple-users/connect-widget"},{"title":"Побудуйте власне спливаюче вікно зв'язування","href":"/uk/multiple-users/connect-direct-mode"},{"title":"Події завершення зв'язування","href":"/uk/multiple-users/link-completion-events"},{"title":"Керування кількома User Profiles","href":"/uk/multiple-users/manage-user-profiles"}]},{"group":"Dashboard","pages":[{"title":"Огляд Ayrshare Dashboard: керування публікацією в соцмережах","href":"/uk/dashboard/overview"},{"group":"Connect Social Accounts","pages":[{"title":"Під'єднайте свої облікові записи соціальних мереж","href":"/uk/dashboard/connect-social-accounts/overview"},{"title":"Прив'язка Bluesky","icon":"bluesky","href":"/uk/dashboard/connect-social-accounts/bluesky"},{"title":"Підключення Facebook","icon":"facebook","href":"/uk/dashboard/connect-social-accounts/facebook"},{"title":"Прив'язка Google Business Profile","icon":"google","href":"/uk/dashboard/connect-social-accounts/google-business"},{"title":"Instagram Linking","icon":"instagram","href":"/uk/dashboard/connect-social-accounts/instagram"},{"title":"Зв'язування LinkedIn","icon":"linkedin","href":"/uk/dashboard/connect-social-accounts/linkedin"},{"title":"Підключення Pinterest","icon":"pinterest","href":"/uk/dashboard/connect-social-accounts/pinterest"},{"title":"Підключення Reddit","icon":"reddit","href":"/uk/dashboard/connect-social-accounts/reddit"},{"title":"Підключення Snapchat","icon":"snapchat","href":"/uk/dashboard/connect-social-accounts/snapchat"},{"title":"Підключіть групу або канал Telegram до Ayrshare","icon":"telegram","href":"/uk/dashboard/connect-social-accounts/telegram"},{"title":"Threads Linking","icon":"threads","href":"/uk/dashboard/connect-social-accounts/threads"},{"title":"Підключення TikTok","description":"Підключіть особистий або бізнес-акаунт TikTok до Ayrshare, надавши доступ у TikTok, з примітками про термін дії 365 днів і усунення проблем.","icon":"tiktok","href":"/uk/dashboard/connect-social-accounts/tiktok"},{"title":"Налаштування власного X API Key","icon":"x-twitter","href":"/uk/dashboard/connect-social-accounts/x-twitter-byo-keys"},{"title":"Прив'язка X","description":"Підключіть акаунт X (Twitter) до Ayrshare: введіть X Consumer Key і Consumer Secret, увійдіть у спливному вікні та авторизуйте застосунок.","icon":"x-twitter","href":"/uk/dashboard/connect-social-accounts/x-twitter"},{"title":"Підключення YouTube","icon":"youtube","href":"/uk/dashboard/connect-social-accounts/youtube"}]},{"title":"Як опублікувати допис у соціальних мережах","href":"/uk/dashboard/publish-post"},{"title":"Перегляд JSON","href":"/uk/dashboard/view-json"},{"title":"Відкликання доступу до соціальних мереж","href":"/uk/dashboard/revoke-access"},{"group":"RSS","pages":[{"title":"RSS, Substack та YouTube-стрічки","href":"/uk/dashboard/automated-rss-feeds"},{"title":"Знайти URL RSS-стрічки","href":"/uk/dashboard/find-rss"}]}]},{"group":"Additional","pages":[{"group":"What's New At Ayrshare","pages":[{"title":"Останні оновлення","href":"/uk/whatsnew/latest"},{"title":"Update Archive","href":"/uk/whatsnew/archive"},{"title":"Майбутні зміни API","mode":"wide","href":"/uk/whatsnew/upcoming-api-changes"}]},{"group":"Errors","pages":[{"title":"Огляд помилок","href":"/uk/errors/overview"},{"title":"HTTP Status Codes","href":"/uk/errors/errors-http"},{"title":"Коди помилок Ayrshare","href":"/uk/errors/errors-ayrshare"}]},{"title":"Max Pack","mode":"wide","href":"/uk/additional/maxpack"},{"group":"Media Guidelines","pages":[{"title":"Вимоги до зображень і відео в соціальних мережах","href":"/uk/media-guidelines/overview"},{"title":"Bluesky","icon":"bluesky","href":"/uk/media-guidelines/bluesky"},{"title":"Facebook Pages","icon":"facebook","href":"/uk/media-guidelines/facebook-pages"},{"title":"Google Business Profile","icon":"google","href":"/uk/media-guidelines/google-business-profile"},{"title":"Instagram","icon":"instagram","href":"/uk/media-guidelines/instagram"},{"title":"LinkedIn","icon":"linkedin","href":"/uk/media-guidelines/linkedin"},{"title":"Pinterest","icon":"pinterest","href":"/uk/media-guidelines/pinterest"},{"title":"Reddit","icon":"reddit","href":"/uk/media-guidelines/reddit"},{"title":"Snapchat","icon":"snapchat","href":"/uk/media-guidelines/snapchat"},{"title":"Telegram","icon":"telegram","href":"/uk/media-guidelines/telegram"},{"title":"Threads","icon":"threads","href":"/uk/media-guidelines/threads"},{"title":"TikTok","icon":"tiktok","href":"/uk/media-guidelines/tiktok"},{"title":"WhatsApp","icon":"whatsapp","href":"/uk/media-guidelines/whatsapp"},{"title":"X","icon":"x-twitter","href":"/uk/media-guidelines/x-twitter"},{"title":"YouTube","icon":"youtube","href":"/uk/media-guidelines/youtube"}]},{"group":"Packages \u0026 Guides","pages":[{"title":"Огляд SDK та посібників з інтеграції Ayrshare","mode":"wide","href":"/uk/packages-guides/overview"},{"title":"Airtable","href":"/uk/packages-guides/airtable"},{"title":"Bubble.io","href":"/uk/packages-guides/bubble"},{"title":"Flutter","href":"/uk/packages-guides/flutter"},{"title":"FlutterFlow","href":"/uk/packages-guides/flutterflow"},{"title":"Make","href":"/uk/packages-guides/make"},{"title":"n8n","href":"/uk/packages-guides/n8n"},{"title":"Node.js NPM","href":"/uk/packages-guides/nodejs"},{"title":"Notion","href":"/uk/packages-guides/notion"},{"title":"Python PyPI","href":"/uk/packages-guides/python"},{"title":"Retool","href":"/uk/packages-guides/retool"}]},{"title":"Стан системи","href":"/uk/additional/status"},{"group":"Testing \u0026 Verification","pages":[{"title":"Hurl","href":"/uk/testing/hurl"},{"title":"Кінцеві точки валідації","href":"/uk/testing/validation-endpoints"},{"title":"Postman","href":"/uk/testing/postman"},{"title":"Верифікація постів","href":"/uk/testing/post-verification"},{"title":"Перевірки перед публікацією","href":"/uk/testing/pre-publish-checks"}]},{"group":"ISO Codes","pages":[{"title":"Коди країн","href":"/uk/iso-codes/country"},{"title":"Коди мов","href":"/uk/iso-codes/language"}]}]}]},{"anchor":"Help Center","icon":"lightbulb","pages":[{"title":"Help Center","href":"/uk/help-center/overview"}]}]},{"language":"hi","pages":[{"title":"hi","href":"/hi/dashboard/connect-social-accounts/x-twitter-byo-keys"}]},{"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_9R7UvdjsYdXKw3ZnEACMK7ssWeNw","buildId":"dpl_9R7UvdjsYdXKw3ZnEACMK7ssWeNw","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-KeYe3mLP.js","lightbox-handle-r17bVUz3.js"]}