This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
public:tellmaps_social_media_rework [2014/10/29 10:54] honzik [New social media tab layout] |
public:tellmaps_social_media_rework [2014/10/29 11:05] (current) honzik [Studio] |
||
---|---|---|---|
Line 16: | Line 16: | ||
* **twitter message** - will only show as the content of a new tweet, probably appended with a short-URL to the tellmap automatically. | * **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: | ||
+ | |||
+ | <code javascript> | ||
+ | { | ||
+ | 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" | ||
+ | } | ||
+ | } | ||
+ | </code> | ||
+ | |||
+ | ==== 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. | ||
+ | |||
+ | |||
+ |