Tag: ##NEWSMAN:twitter_sharebutton##
The twitter_sharebutton tag is used similarly to facebook_likebutton tag:
<a href="##NEWSMAN:twitter_sharebutton##">Custom text</a> |
This tag will be replaced with a call to a javascript function which will open a Twitter Share window with a single click. Like the Facebook Like tag, it can be placed in any part of HTML or TEXT message alternately whenever is necessary.
Another way to use the twitter_sharebutton tag is shown below:
<a href="##NEWSMAN:twitter_sharebutton|shareurl:https://www.dazoot.ro##"><img src="https://nl.newsman.ro/images/tweet.png" alt="" width="55" height="20" border="0" /></a> |
By adding the shareurl modifier, you can specify your own URL which will be shared by the subscriber. If the modifier is missing, the newsletter’s general URL will be shared. Regardless of the presence of this modifier, the default message is the title of the newsletter that is shared.
To send a personalized message, shareurl can receive as a parameter a text that will be set as a message. Another possibility is for the message to be empty, remaining for the subscriber to complete the missing text.
The example below demonstrates this situation:
<a href="##NEWSMAN:twitter_sharebutton|shareurl:https://www.dazoot.ro,Personalized message##"><img src="https://nl.newsman.ro/images/tweet.png" alt="" width="55" height="20" border="0" /></a> |
Setting a message for the newsletter’s general link can be done using sharemessage modifier:
<a href="##NEWSMAN:twitter_sharebutton|sharemessage:Custom message##"><img src="https://nl.newsman.ro/images/tweet.png" alt="" width="55" height="20" border="0" /></a> |