hootsuite-hello-world

Featured

Create a minimal working Hootsuite example. Use when starting a new Hootsuite integration, testing your setup, or learning basic Hootsuite API patterns. Trigger with phrases like "hootsuite hello world", "hootsuite example", "hootsuite quick start", "simple hootsuite code".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Hootsuite Hello World ## Overview List your social media profiles and schedule a post using the Hootsuite REST API. The API base URL is `https://platform.hootsuite.com/v1/`. ## Prerequisites - Completed `hootsuite-install-auth` setup - Valid access token - At least one social profile connected in Hootsuite ## Instructions ### Step 1: List Social Profiles ```typescript // hello-hootsuite.ts import 'dotenv/config'; const TOKEN = process.env.HOOTSUITE_ACCESS_TOKEN!; const BASE = 'https://platform.hootsuite.com/v1'; async function listProfiles() { const response = await fetch(`${BASE}/socialProfiles`, { headers: { 'Authorization': `Bearer ${TOKEN}` }, }); const { data } = await response.json(); for (const profile of data) { console.log(`${profile.type}: @${profile.socialNetworkUsername} (ID: ${profile.id})`); } return data; } listProfiles().catch(console.error); ``` ### Step 2: Schedule a Post ```typescript async function schedulePost(socialProfileId: string, text: string, scheduledAt: Date) { const response = await fetch(`${BASE}/messages`, { method: 'POST', headers: { 'Authorization': `Bearer ${TOKEN}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ text, socialProfileIds: [socialProfileId], scheduledSendTime: scheduledAt.toISOString(), emailNotification: false, }), }); const result = await response.json(); console.log('Scheduled message ID:', result.data[0]?.id); ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category