I have created a Windows 8.1 application in WinJS and I have some HTML content that I am sharing.
I have implemented sharing as per the MS sample app (http://code.msdn.microsoft.com/windowsapps/Sharing-Content-Source-App-d9bffd84)
The sharing works well, except if I share to the official Twitter app.
The problem is that it inserts the entire article (500 characters or more) into the text area of the Twitter flyout.
Is there anyway to limit the characters when the user chooses to share to Twitter?
The problem can be replicated by installing the MS share example app, selecting "Share HTML content" and selecting the Twitter app from the share flyout (The Twitter app needs to be installed on your PC of coarse).
Copyright Notice:Content Author:「Ibanez」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/23634547/how-to-limit-characters-to-be-shared-to-twitter-from-winjs-app