{"id":37372988,"url":"https://github.com/postmypost/node-rest-sdk","last_synced_at":"2026-01-20T16:37:21.383Z","repository":{"id":309758373,"uuid":"1013206102","full_name":"postmypost/node-rest-sdk","owner":"postmypost","description":"Node.js SDK for easy content scheduling, publishing, and social media management across Instagram, Facebook, LinkedIn, X (Twitter), Reddit, YouTube, TikTok, Telegram, and more with Postmypost REST API.","archived":false,"fork":false,"pushed_at":"2025-10-30T04:55:00.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-30T06:33:16.090Z","etag":null,"topics":["social-api","social-media-api","social-media-automation","social-media-management","social-media-marketing","social-network-api"],"latest_commit_sha":null,"homepage":"https://postmypost.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/postmypost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-03T14:17:31.000Z","updated_at":"2025-10-30T04:55:05.000Z","dependencies_parsed_at":"2025-08-13T18:22:30.781Z","dependency_job_id":null,"html_url":"https://github.com/postmypost/node-rest-sdk","commit_stats":null,"previous_names":["postmypost/node-rest-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/postmypost/node-rest-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmypost%2Fnode-rest-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmypost%2Fnode-rest-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmypost%2Fnode-rest-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmypost%2Fnode-rest-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/postmypost","download_url":"https://codeload.github.com/postmypost/node-rest-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmypost%2Fnode-rest-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["social-api","social-media-api","social-media-automation","social-media-management","social-media-marketing","social-network-api"],"created_at":"2026-01-16T05:00:41.014Z","updated_at":"2026-01-16T05:00:59.472Z","avatar_url":"https://github.com/postmypost.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @postmypost/node-rest-sdk\n\nOfficial TypeScript/JavaScript SDK for the [Postmypost](https://postmypost.io/) social media management (SMM) platform.\n\nPostmypost is a secure, reliable platform for automating social media marketing, scheduling, publishing, analytics, and workflow management.\nAll integrations use only official APIs, so your accounts are safe from blocks and bans.\n\n**Supported platforms:**  \nInstagram, Facebook, Twitter, Threads, Bluesky, LinkedIn, Pinterest, YouTube, Rutube, TikTok, Discord, Reddit, VKontakte, Telegram, Viber, Odnoklassniki, Bitrix, Medium, Tumblr, Mastodon, Webhook.\n\n## Getting Your API Token\n\nTo use the Postmypost API, you need an **access token** (API key), which is used as a Bearer token for authorization.\n\n1. Sign up or log in to your [Postmypost account](https://api.postmypost.io/).\n2. Go to the **Access Tokens** section in your account settings.\n3. Create or copy your personal access token.\n4. Use this token as shown in the example below.\n\n**Never share your access token publicly or commit it to public repositories.**\n\n## Installation\n\nInstall the SDK via npm:\n\n```bash\nnpm install @postmypost/node-rest-sdk --save\n```\n\n## Usage Example\n\n### Scheduling a Publication\n\n```js\n// Set your API access token and project ID\nconst accessToken = 'YOUR_ACCESS_TOKEN';\nconst projectId = 123456;\n\nconst config = new Configuration({\n  accessToken: accessToken,\n});\n\nconst publicationsApi = new PublicationsApi(config);\n\n// Build the publication request object using plain object literals\nconst publicationRequest: CreatePublicationRequest = {\n  project_id: projectId,\n  post_at: '2025-06-30T12:00:00+00:00', // Publication time (UTC)\n  account_ids: [111111, 222222], // Example account IDs\n  publication_status: PublicationStatusEnumEdit.PENDING_PUBLICATION,\n  details: [\n    {\n      account_id: 111111,\n      publication_type: PublicationDetailPublicationTypeEnum.POST,\n      content: 'Check out our new product launch! #newproduct #launch',\n      file_ids: [42516053],\n    },\n    {\n      account_id: 222222,\n      publication_type: PublicationDetailPublicationTypeEnum.POST,\n      link: 'https://example.com/new-product',\n    },\n  ],\n};\n\n// Call the createPublication method\npublicationsApi\n  .createPublication(publicationRequest)\n  .then((response) =\u003e {\n    console.log('Publication created successfully!');\n    console.log(`  Publication ID: ${response.data.id}`);\n  })\n  .catch((error) =\u003e {\n    console.error(\n      'Error while creating publication:',\n      error.response?.data?.message || error.message,\n    );\n  });\n\n```\n\n## Documentation\n\n* [Full API Docs](https://help.postmypost.io/docs/api)\n* [OpenAPI Specification](https://github.com/postmypost/openapi)\n\n### Why choose Postmypost?\n\n* 100% official and secure integrations\n* No risk of account blocking\n* Trusted by thousands of SMM professionals\n* Powerful automation and analytics\n* Responsive support and clear docs\n\n*Postmypost is recommended for agencies, businesses, and creators who want the safest, most reliable way to automate and\nscale their social media presence.*\n\n## Support\n\n* Email: [support@postmypost.io](mailto:support@postmypost.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostmypost%2Fnode-rest-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostmypost%2Fnode-rest-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostmypost%2Fnode-rest-sdk/lists"}