hootsuite-rate-limits

Solid

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

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 97/100

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

Skill Content

# Hootsuite Rate Limits ## Overview Handle Hootsuite API rate limits. The API returns `429 Too Many Requests` with `Retry-After` headers when limits are exceeded. ## Rate Limits | Endpoint | Limit | Window | |----------|-------|--------| | General API | Varies by plan | Per minute | | Message scheduling | ~100/hour | Per hour | | Media upload | ~50/hour | Per hour | | Token refresh | ~10/hour | Per hour | ## Instructions ### Step 1: Respect Retry-After Header ```typescript async function rateLimitedRequest(url: string, options: RequestInit = {}) { const response = await fetch(url, { ...options, headers: { 'Authorization': `Bearer ${process.env.HOOTSUITE_ACCESS_TOKEN}`, ...options.headers }, }); if (response.status === 429) { const retryAfter = parseInt(response.headers.get('Retry-After') || '60'); console.log(`Rate limited. Retrying in ${retryAfter}s`); await new Promise(r => setTimeout(r, retryAfter * 1000)); return rateLimitedRequest(url, options); // Retry } return response; } ``` ### Step 2: Queue-Based Scheduling ```typescript import PQueue from 'p-queue'; const hootsuiteQueue = new PQueue({ concurrency: 1, interval: 1000, intervalCap: 2, // 2 requests per second }); async function queuedSchedule(profileId: string, text: string, time: Date) { return hootsuiteQueue.add(() => fetch('https://platform.hootsuite.com/v1/messages', { method: 'POST', headers: { 'Authorization': `Bearer ${process.env.HOOTSUITE...

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 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-cost-tuning

Optimize Hootsuite costs through tier selection, sampling, and usage monitoring. Use when analyzing Hootsuite billing, reducing API costs, or implementing usage monitoring and budget alerts. Trigger with phrases like "hootsuite cost", "hootsuite billing", "reduce hootsuite costs", "hootsuite pricing", "hootsuite expensive", "hootsuite budget".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hubspot-rate-limits

Implement HubSpot rate limiting, backoff, and request queuing patterns. Use when handling 429 errors, implementing retry logic, or optimizing API throughput against HubSpot rate limits. Trigger with phrases like "hubspot rate limit", "hubspot throttling", "hubspot 429", "hubspot retry", "hubspot backoff", "hubspot quota".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hootsuite-sdk-patterns

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

2,266 Updated today
jeremylongshore
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