hootsuite-webhooks-events

Featured

Implement Hootsuite webhook signature validation and event handling. Use when setting up webhook endpoints, implementing signature verification, or handling Hootsuite event notifications securely. Trigger with phrases like "hootsuite webhook", "hootsuite events", "hootsuite webhook signature", "handle hootsuite events", "hootsuite notifications".

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 Webhooks & Events ## Overview Hootsuite provides webhook notifications for social stream events when building Hootsuite App Directory integrations. For API-only integrations, you poll for message state changes or implement your own scheduling system with callbacks. ## Instructions ### Step 1: Poll for Message Status Changes ```typescript // Since Hootsuite REST API doesn't push webhooks for message status, // poll for changes to scheduled messages async function pollMessageStatus(messageId: string, intervalMs = 30000) { const check = async () => { const response = await fetch(`https://platform.hootsuite.com/v1/messages/${messageId}`, { headers: { 'Authorization': `Bearer ${await getStoredToken()}` }, }); const { data } = await response.json(); if (data.state === 'SENT') { console.log(`Message ${messageId} sent at ${data.sentAt}`); return data; } else if (data.state === 'FAILED' || data.state === 'REJECTED') { console.error(`Message ${messageId} failed: ${data.state}`); return data; } console.log(`Message ${messageId}: ${data.state}, checking again...`); await new Promise(r => setTimeout(r, intervalMs)); return check(); }; return check(); } ``` ### Step 2: Build Custom Scheduling Webhook ```typescript // Your own webhook system to track scheduled post status import express from 'express'; const app = express(); app.use(express.json()); // Cron job checks scheduled posts and fires we...

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