You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if this was raised before, and I apologize in advance if I'm missing some option I couldn't spot in the code or documentation (do let me know, it'd help a lot!)
I want my twitter share message to not include the site's title, but only my own custom text. The problem is that the code always prepends the site's title to whatever text is set up in the options.
(line 208) url = 'https://twitter.com/intent/tweet?url=' + paramsObj.shareUrlEncoded() + '&text=' + encodeURIComponent(title + (text && title ? ' - ' : '') + text);
After reading the code, I realize that if I set up { title = '' } in the options, it will not add it to the message. However, that doesn't work with other sharing services like linkedin, tumblr and email, that all use the title specifically separate from the summary or body text (understandably)
So while setting title to an empty string works, it isn't ideal.
I think it might be useful to make the twitter message either not append the title to begin with (supplying a twitter text message is usually enough to most cases) or make this prepending of the title optional.
The text was updated successfully, but these errors were encountered:
I am not sure if this was raised before, and I apologize in advance if I'm missing some option I couldn't spot in the code or documentation (do let me know, it'd help a lot!)
I want my twitter share message to not include the site's title, but only my own custom text. The problem is that the code always prepends the site's title to whatever text is set up in the options.
(line 208)
url = 'https://twitter.com/intent/tweet?url=' + paramsObj.shareUrlEncoded() + '&text=' + encodeURIComponent(title + (text && title ? ' - ' : '') + text);
After reading the code, I realize that if I set up { title = '' } in the options, it will not add it to the message. However, that doesn't work with other sharing services like linkedin, tumblr and email, that all use the title specifically separate from the summary or body text (understandably)
So while setting title to an empty string works, it isn't ideal.
I think it might be useful to make the twitter message either not append the title to begin with (supplying a twitter text message is usually enough to most cases) or make this prepending of the title optional.
The text was updated successfully, but these errors were encountered: