convergine/craft-social-buddy
Composer 安装命令:
composer require convergine/craft-social-buddy
包简介
Social Buddy is a CraftCMS plugin for seamless social media publishing. Share entries to Facebook, Instagram, Pinterest, Telegram, Medium, LinkedIn, and X (Twitter), with options for both automatic and manual posting. Supports multi-platform publishing, customizable content, and cron job automation.
关键字:
README 文档
README
Social Buddy is a CraftCMS plugin designed to streamline your social media publishing process. Effortlessly share your Craft entries as posts across multiple social media platforms, including Facebook, Instagram, Pinterest, Telegram, Medium, LinkedIn, and X (Twitter), directly from your Craft CMS (manual or automatic).
The plugin has three licensing levels depending on social media platforms supported:
- LITE: Facebook
- STANDARD: LITE + Instagram, X(Twitter)
- PRO: STANDARD + Pinterest, LinkedIn, Medium, Telegram
The plugin offers flexibility with two operating modes:
- Automatic Mode: Automatically publishes entries when their status changes to "Published" from a pending state.
- Manual Mode: Allows administrators to manually publish entries by clicking a "Publish" button, giving you precise control over what gets shared.
Before publishing, administrators need to connect the plugin to their social media accounts in the Settings section.
To enable automatic publishing, set up a cron job using the following command:
php craft social-buddy/scheduled
This ensures that your content is shared promptly and efficiently without manual intervention.
Features
-
Multi-Platform Publishing: Publish entries to popular social media platforms such as Facebook, Instagram, Pinterest, Telegram, Medium, LinkedIn, and X (Twitter).
-
Automatic & Manual Modes: Choose between automatic publishing upon status changes or have full control with manual publishing.
-
Easy Social Media Integration: Connect your social media accounts via the plugin's Settings section with straightforward instructions.
-
Cron Job Automation: Set up cron jobs for automated publishing, ensuring your content is shared even when you're not around.
-
Customizable Post Content: Tailor the content that gets posted to each social platform, including images, captions, and hashtags.
-
User-Friendly Interface: Intuitive and clean interface that integrates seamlessly with your Craft CMS workflow.
-
Detailed Publishing Logs: Keep track of published posts and any errors with comprehensive logging.
-
Multi-Account Support: Manage and publish to multiple accounts on the same platform if needed.
-
Secure Authorization: Robust security measures to protect your social media credentials and data.
Requirements
- Craft CMS 4.0.0 or later
- PHP 8.0.2 or later
- Social Media Accounts: Valid accounts for each social media platform you wish to publish to.
- Cron Job Access: Ability to set up cron jobs on your hosting environment for automatic publishing.
Installation
You can install this plugin from the Plugin Store or with Composer.
From the Plugin Store
- Go to the Plugin Store in your project’s Control Panel.
- Search for “Social Buddy”.
- Click on the “Install” button in the plugin's modal window.
With Composer
Open your terminal and run the following commands:
# Navigate to your project directory cd /path/to/my-project.test # Require the plugin via Composer composer require convergine/craft-social-buddy # Install the plugin via Craft CLI ./craft plugin/install craft-social-buddy
Configuration
After installation, configure the plugin by following these steps:
-
Connect Social Media Accounts: Navigate to the plugin’s Settings page and connect each social media platform by following the provided instructions.
-
Set Publishing Preferences: Choose between automatic and manual publishing modes, and configure content templates for each platform if desired.
-
Configure Entries/Default Fields: Go to Social Buddy → Settings → Entries/Default Fields, enable the sections and entry types for which you need social media publishing. Select the entry attribute for the post body and the attribute for the image.
-
Add socialBuddy custom field to the Field Layout: Go to Settings → Content → Sections. Choose Section and entry type. Add sociaulBuddy custom field somwhere in the Field Layout tabs.
-
Set Up Cron Job (For Automatic Mode): Schedule the following command to run at your preferred intervals:
php craft element-status-events/scheduled
This ensures entries are published automatically when their status changes.
Roadmap
-
Advanced Scheduling Options: Ability to schedule posts for specific times per entry.
-
Analytics Integration: View engagement metrics directly within the plugin dashboard.
-
Content Variations: Customize posts differently for each social platform to maximize engagement.
-
Additional Platform Support: Integration with more social media platforms based on user requests.
-
Team Collaboration Features: Assign permissions and roles for team members to manage social postings.
Support
For any issues or questions, you can reach us by email at info@convergine.com or by opening an issue on GitHub.
convergine/craft-social-buddy 适用场景与选型建议
convergine/craft-social-buddy 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 36 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 02 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「facebook」 「linkedin」 「instagram」 「automation」 「pinterest」 「medium」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 convergine/craft-social-buddy 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 convergine/craft-social-buddy 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 convergine/craft-social-buddy 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Handles basic OAuth/OAuth2 authentication along with classes for common services
Linkedin API integration for Laravel and Lumen 5
Craft CMS plugin to receive Instagram feed data as variable in templates.
Simple Sharing generates social media share links within CP entry pages, allowing you to quickly & easily share entries.
LinkedIn API PHP SDK with OAuth 2.0 & CSRF support. Can be used for social sign in or sharing on LinkedIn. Examples. Documentation.
LinkedIn integration for Social
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 35
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2025-02-14
