{"repo":"ayrshare/social-media-api","free":true,"listed":false,"github":"https://github.com/ayrshare/social-media-api","clone":"git clone https://github.com/ayrshare/social-media-api.git","description":"Social Media API: Automate Posting and Analytics to Social Networks like Instagram, TikTok, X/Twitter, Facebook, LinkedIn, Reddit, YouTube, and Telegram","language":"JavaScript","stars":322,"topics":["api","facebook","facebook-api","instagram","instagram-api","linkedin","linkedin-api","nodejs","reddit","social-media"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Social Media APIs for Posting, Scheduling, and Analytics The Social Media API is a Node.js wrapper SDK for Ayrshare's APIs. Ayrshare is a powerful set of APIs that enable you to send social media posts, get analytics, and add comments to X/Twitter , Instagram , Facebook , LinkedIn , YouTube , Google Business Profile , Pinterest , TikTok , Reddit , and Telegram on behalf of your users or clients. The Ayrshare Social API handles all the setup and maintenance for the social media networks. One API to rule them all (yeah, went there). See the full list of full list of features in our docs. Get started with a free plan, or if you have a platform or manage multiple users check out the Business Plan. For more information on setup, see our installation video or our Quick Start Guide. Installation npm i social-media-api Setup 1. Create a free Ayrshare account. 2. Enable your social media accounts such as X/Twitter, Facebook, LinkedIn, Reddit, Instagram, Google Business Profile, Telegram, TikTok, or YouTube in the Ayrshare dashboard. 3. Copy your API Key from the Ayrshare dashboard. Used for authentication. Getting Started Initialize Social Post API Create a new Social Media API object with your API Key. X/Twitter Bring-Your-Own-Keys (BYO) As of March 31, 2026 , X/Twitter operations through Ayrshare require your own X Developer App credentials. Once set, the SDK injects the required X-Twitter-OAuth1-Api-Key and X-Twitter-OAuth1-Api-Secret headers into every X-bound request — post , his","default_branch":null,"files":null,"tree":[],"storefront":"/r/ayrshare","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ayrshare/social-media-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}