hootsuite-core-workflow-a

Featured

Execute Hootsuite primary workflow: Core Workflow A. Use when implementing primary use case, building main features, or core integration tasks. Trigger with phrases like "hootsuite main workflow", "primary task with hootsuite".

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 Publishing — Schedule Posts with Media ## Overview Schedule social media posts with images and videos using the Hootsuite REST API. The publishing workflow involves: uploading media to get a media ID, then scheduling a message referencing that media. ## Prerequisites - Completed `hootsuite-install-auth` setup - Social profiles connected in Hootsuite - Media files (images/videos) for upload ## Instructions ### Step 1: Upload Media ```typescript // publishing.ts import 'dotenv/config'; import fs from 'fs'; const TOKEN = process.env.HOOTSUITE_ACCESS_TOKEN!; const BASE = 'https://platform.hootsuite.com/v1'; // Step 1a: Create upload URL async function createMediaUpload(sizeBytes: number, mimeType: string) { const response = await fetch(`${BASE}/media`, { method: 'POST', headers: { 'Authorization': `Bearer ${TOKEN}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ sizeBytes, mimeType }), }); const { data } = await response.json(); console.log('Upload URL:', data.uploadUrl); console.log('Media ID:', data.id); return data; // { id, uploadUrl, uploadUrlDurationSeconds } } // Step 1b: Upload file to the S3 URL async function uploadFile(uploadUrl: string, filePath: string, mimeType: string) { const fileBuffer = fs.readFileSync(filePath); const response = await fetch(uploadUrl, { method: 'PUT', headers: { 'Content-Type': mimeType }, body: fileBuffer, }); if (response.status !== 200) throw new...

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