====== Studio's Social media tab rework ====== ===== New social media tab layout ===== {{:public:social_media_rework.png|}} ===== List of properties ===== These properties are shared in almost all social networks. * **title** - will show as shared content snippet title * **description** - will show as shared content description * **images** - will show as shared content snippet image(s) - one image or more to choose from This property is twitter only: * **twitter message** - will only show as the content of a new tweet, probably appended with a short-URL to the tellmap automatically. ===== Implementation - backend requirements ===== ==== Studio ==== the data structure of content set to / returned by the "socialmediaeditor" plugin will change this way: { en: { title: false, // BOOL false indicates property is not used description: "some example content", images: [ "http://some-example-url/image.jpg", "http://some-example-url/image2.jpg" ], twitter_message: "Some message here" } } ==== Front-end ==== According to [[public:tellmaps_social_networks|this document]], it will be needed to create only one "social media share" server-side version of the tellmap. Using the OG properties correctly, this should work greatly in all available social networks.