This project is not covered by Drupal’s security advisory policy.
Social Post Controller has been renamed. Development on this module is continuing under MPOSSE.
Social post controller is essentially in integration layer between Drutopia Microblog and other modules that provide a mechanism for posting content from your Drupal site to social media, like Social Post Facebook. With a little bit of configuration, and all of the wrestling that goes along with setting up development apps for the various social media APIs (yes it hurts me too), you can manage all of your microblogs (and individual posts within them) all from the article or other node that your posts are about.
This module was developed, primarily, because there was no existing way to publish a node and syndicate posts about that node all during a cron job. Attempts were made to do this via the Indieweb module (which is an incredible module by the way), but were unsuccessful.
Configuration
To enable inline microblogging for a content type, simply go to the settings page for your content type, open up the Social Post Controller settings tab, toggle "Enable inline microblogging", and then press save.
This will add and configure the Microblog field (field_social_post_controller_ref) for your content type. To remove it, from your content type, delete it just like any other field.
Content editor usage
Let's assume we have our microblog reference field using the same label as the previous example, "Post to social media", and that we have placed this field on the article content type.
A content editor can create a new microblog from the article (via an inline entity reference), and then define messages for each of the social media platforms they wish to post to. When they publish and save the node, a couple of things will happen simultaneously:
- The microblog will be published
- Posts will be syndicated from the microblog platform fields
- The "Post to social media" field on the article will be cleared
As described earlier, all of this will still work even if publishing is automated (perhaps via cron).
Plugin implementation
It should be noted that this module itself does not handle posting by itself. Posting should be handled by other compatible modules, each of which will need a plugin implemented in order to take advantage of social post controllers mechanism for actually sending out posts. There is such a plugin in the social post Facebook module, which I recommend developers taking a look at if they are looking for an example of such an implementation.
See https://git.drupalcode.org/project/social_post_facebook/-/tree/3.0.x/src...
Project information
Obsolete
Use of this project is deprecated.- Project categories: Content editing experience, Import and export, Integrations
- Ecosystem: Social Post, IndieWeb
- Created by megakeegman on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.

