We want to give users the ability to share their content to other platforms. However, since we do not have a web app yet, we need to provide a workaround. https://github.com/nmcteam/image-with-text is one such solution.
This function will allow a user to turn the text of an item (e.g. a post) into an image, which can then be shared to a third-party social network (e.g. FB/Twtr/Insta). More information to be provided on Slack.
At a high level, this is the user story:
User selects New Post from New Item Menu
User writes post (new max character limit on frontend is 3000 characters)
User checks box that says "Share this to FB?"
App sends optional flag with post "convertTexttoImage=True"
User sends post.
Once user sends post, backend processes new post normally
Backend also looks at "ConvertTexttoImage"
If true, backend converts text to image as explained in Slack.
Backend provides image back to frontend.
Frontend sends image to selected third-party social network(s) on behalf of user
A few rules / requirements:
Processing the post is the first priority, generating image is second priority.
The background image is consistent and will follow the template I provided.
Image dimensions should be optimized for third-party newsfeed
We want to give users the ability to share their content to other platforms. However, since we do not have a web app yet, we need to provide a workaround. https://github.com/nmcteam/image-with-text is one such solution.
This function will allow a user to turn the text of an item (e.g. a post) into an image, which can then be shared to a third-party social network (e.g. FB/Twtr/Insta). More information to be provided on Slack.
At a high level, this is the user story:
A few rules / requirements: