iqual/iq_content_publishing_hootsuite
Composer 安装命令:
composer require iqual/iq_content_publishing_hootsuite
包简介
Provides Hootsuite integration for the Content Publishing framework. Enables publishing Drupal content to social media platforms via the Hootsuite API.
README 文档
README
Provides Hootsuite integration for the Content Publishing framework. It enables publishing Drupal content to social media platforms (Twitter/X, Facebook, Instagram, LinkedIn, etc.) via the Hootsuite scheduling API.
Requirements
- Drupal 11
- Content Publishing (
iq_content_publishing) module - Hootsuite API (
iq_hootsuite_api) module - A Hootsuite Developer account with an application (https://hootsuite.com/developers/my-apps)
Installation
Install as you would normally install a contributed Drupal module. For further information see Installing Drupal Modules.
composer require iqual/iq_content_publishing_hootsuite drush en iq_content_publishing_hootsuite
Configuration
- Navigate to Administration » Configuration » Content Publishing » Platforms
(
/admin/config/content-publishing/platforms). - Add a new platform and select Hootsuite as the plugin.
- Enter your OAuth2 Client ID and Client Secret obtained from the Hootsuite Developer Portal, then save the configuration.
- From the platform list, click Connect to Hootsuite in the operations dropdown. You will be redirected to Hootsuite to authorize the application.
- After authorization, click Fetch Profiles to retrieve your available social media profiles.
- In the platform settings, enter the Social Profile IDs you want to publish to (one per line).
- Optionally configure whether posts are sent immediately or scheduled with a delay.
How It Works
The module registers a hootsuite content publishing platform plugin that:
- Generates social media copy — uses the Content Publishing AI pipeline with built-in prompt instructions optimised for short-form social posts (≤ 280 characters, hashtags, CTA, etc.).
Hootsuite API is managed by the iqual/iq_hootsuite_api dependency
- Manages OAuth2 tokens — handles the full three-legged OAuth2 authorization-code flow, including automatic token refresh on expiry.
- Schedules or publishes posts — sends messages to one or more Hootsuite social profiles, with optional image attachments and configurable scheduling delay.
Permissions
This module reuses the "Administer content publishing" permission provided
by iq_content_publishing. All administrative routes require this permission.
统计信息
- 总下载量: 45
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-02-27