hootsuite-deploy-integration

Featured

Deploy Hootsuite integrations to Vercel, Fly.io, and Cloud Run platforms. Use when deploying Hootsuite-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy hootsuite", "hootsuite Vercel", "hootsuite production deploy", "hootsuite Cloud Run", "hootsuite Fly.io".

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 Deploy Integration ## Overview Deploy Hootsuite social media management backends. Key consideration: OAuth refresh tokens must persist across deployments — use a database or key-value store, not environment variables. ## Instructions ### Step 1: Vercel Deployment ```typescript // api/schedule.ts — Vercel serverless import type { VercelRequest, VercelResponse } from '@vercel/node'; export default async function handler(req: VercelRequest, res: VercelResponse) { if (req.method !== 'POST') return res.status(405).end(); // Get token from persistent store (not env var — tokens rotate) const token = await getStoredToken(); const response = await fetch('https://platform.hootsuite.com/v1/messages', { method: 'POST', headers: { 'Authorization': `Bearer ${token}`, 'Content-Type': 'application/json' }, body: JSON.stringify(req.body), }); const result = await response.json(); res.json(result); } ``` ```bash vercel env add HOOTSUITE_CLIENT_ID production vercel env add HOOTSUITE_CLIENT_SECRET production vercel --prod ``` ### Step 2: Token Persistence ```typescript // Use Redis, database, or KV store for token persistence // Tokens refresh every ~1 hour and refresh_token changes each time import { kv } from '@vercel/kv'; async function getStoredToken(): Promise<string> { let token = await kv.get('hootsuite:access_token'); const expiresAt = await kv.get('hootsuite:expires_at') as number; if (!token || Date.now() > expiresAt - 60000) {...

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