Seems like for now the tweet button is set to tweet the title of the page it is on. How can we set it up so we can get it to tweet a custom message for us?
Thanks.
Seems like for now the tweet button is set to tweet the title of the page it is on. How can we set it up so we can get it to tweet a custom message for us?
Thanks.
Comments
Comment #1
emkamau commentedany response to this?
Comment #2
safetypinI have a field configured to allow users to customize the tweet message on a per-node basis, but I like the addthis field setup. Would it be possible to use replacement tokens to insert that field value if it's set, and otherwise use the node title?
Comment #3
matglas86 commented1) On the admin/config/user-interface/addthis you can change the content of the Twitter text template.
2) You could use a hook_addthis_configuration_share_alter to alter the template configuration before they are rendered to the Javascript.
3) Please read about the fact that Twitter changed its API which affects the AddThis functionality.
4) Use the hook_addthis_markup_alter to alter the addthis:title attribute. I believe this gets used as input for the Twitter share too. Now remove the input in the Twitter template field or alter it out.