hootsuite-sdk-patterns

Featured

Apply production-ready Hootsuite SDK patterns for TypeScript and Python. Use when implementing Hootsuite integrations, refactoring SDK usage, or establishing team coding standards for Hootsuite. Trigger with phrases like "hootsuite SDK patterns", "hootsuite best practices", "hootsuite code patterns", "idiomatic hootsuite".

AI & Automation 2,266 stars 315 forks Updated today 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 SDK Patterns ## Overview Production patterns for Hootsuite REST API: typed client, token management, scheduling helpers, and Python integration. ## Instructions ### Step 1: Typed API Client ```typescript // src/hootsuite/types.ts interface SocialProfile { id: string; type: 'TWITTER' | 'FACEBOOK' | 'INSTAGRAM' | 'LINKEDIN' | 'PINTEREST' | 'YOUTUBE' | 'TIKTOK'; socialNetworkUsername: string; socialNetworkId: string; } interface ScheduledMessage { id: string; text: string; state: 'SCHEDULED' | 'SENT' | 'FAILED' | 'REJECTED'; socialProfileIds: string[]; scheduledSendTime: string; sentAt?: string; mediaUrls?: Array<{ id: string }>; } interface HootsuiteResponse<T> { data: T; } ``` ### Step 2: Scheduling Helper with Timezone ```typescript function scheduleForTimezone( hour: number, minute: number, timezone: string, daysFromNow = 0 ): Date { const date = new Date(); date.setDate(date.getDate() + daysFromNow); const dateStr = date.toISOString().split('T')[0]; const timeStr = `${hour.toString().padStart(2, '0')}:${minute.toString().padStart(2, '0')}:00`; return new Date(`${dateStr}T${timeStr}`); } // Schedule posts at optimal times per platform const OPTIMAL_TIMES = { TWITTER: { hour: 9, minute: 0 }, INSTAGRAM: { hour: 11, minute: 0 }, LINKEDIN: { hour: 7, minute: 30 }, FACEBOOK: { hour: 13, minute: 0 }, }; ``` ### Step 3: Python Client ```python # hootsuite/client.py import os, requests, time from dotenv import...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

hootsuite-hello-world

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".

2,266 Updated today
jeremylongshore
AI & Automation Solid

hootsuite-performance-tuning

Optimize Hootsuite API performance with caching, batching, and connection pooling. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for Hootsuite integrations. Trigger with phrases like "hootsuite performance", "optimize hootsuite", "hootsuite latency", "hootsuite caching", "hootsuite slow", "hootsuite batch".

2,266 Updated today
jeremylongshore
AI & Automation Solid

hootsuite-reference-architecture

Implement Hootsuite reference architecture with best-practice project layout. Use when designing new Hootsuite integrations, reviewing project structure, or establishing architecture standards for Hootsuite applications. Trigger with phrases like "hootsuite architecture", "hootsuite best practices", "hootsuite project structure", "how to organize hootsuite", "hootsuite layout".

2,266 Updated today
jeremylongshore
AI & Automation Solid

hootsuite-rate-limits

Implement Hootsuite rate limiting, backoff, and idempotency patterns. Use when handling rate limit errors, implementing retry logic, or optimizing API request throughput for Hootsuite. Trigger with phrases like "hootsuite rate limit", "hootsuite throttling", "hootsuite 429", "hootsuite retry", "hootsuite backoff".

2,266 Updated today
jeremylongshore
AI & Automation Solid

hex-sdk-patterns

Apply production-ready Hex SDK patterns for TypeScript and Python. Use when implementing Hex integrations, refactoring SDK usage, or establishing team coding standards for Hex. Trigger with phrases like "hex SDK patterns", "hex best practices", "hex code patterns", "idiomatic hex".

2,266 Updated today
jeremylongshore