Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
17 views
ago in Plugins by

Hi all,

We have been working on a social media posting plugin for Q2A and have managed to come up with this using GitHub copilot. 

What it does:

  • Posts new questions to your social media accounts automatically
  • Supports Telegram, Facebook, X (Twitter), LinkedIn, WhatsApp, Instagram, and YouTube Shorts
  • Multiple accounts per platform (e.g., different Telegram channels for different topics)
  • Category-based routing (send Physics questions to one channel, Chemistry to another)
  • AI-powered message generation using OpenAI
  • Auto-generates images for Instagram and video for YouTube Shorts
  • Daily "Question of the Day" and "Quote of the Day" features
  • Token expiry warnings so you don't miss when API keys need renewal

Why we built it:

Managing social media for a Q2A site is tedious. Copy-pasting links, writing captions, posting to multiple platforms... it adds up. This plugin handles all of that automatically when content is posted.

Some highlights:

  • Add unlimited accounts per platform
  • Pick which accounts receive which content types
  • Nested category support (3 levels) for granular routing
  • Developer API so other plugins can use the posting functionality
  • Clean admin UI with collapsible sections

Requirements:

  • Q2A 1.8+
  • PHP 7.4+
  • GD extension (for image generation)
  • ffmpeg (optional, for YouTube Shorts)

The plugin auto-detects custom tables (^exams, ^blogs, ^jobs) and only shows those content types if they exist.

GitHub: https://github.com/GATEOverflow/q2a-social-media-poster

Please test it and open PRs or issues are any issues. We'll be using this plugin on our website and so will be happy to solve any issues. 

Q2A version: 1.8
ago by
+1
That's a pretty useful and powerful plugin! Thanks for sharing.

Please log in or register to answer this question.

...