customize tweets via addthis.toolbox()
-
My app dynamically generates the url and title of a tweet based on client inputs. Based on my understanding from the addthis client api, I use the following code to update my addthis <div> when a user clicks on a button.
$(‘#my_addthis’).attr(‘addthis:title’, ‘Customized tweets title’);
$(‘#my_addthis’).attr(‘addthis:url’, “https://example.com/app/” + “?s1=ab,ef&s3=www”);
addthis.toolbox(‘#my_addthis’);I then click the “tweet” button but found the title and url are not customized. Can someone please tell me what am I missing? Thanks for your help!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘customize tweets via addthis.toolbox()’ is closed to new replies.