AddThis Sharing Buttons
customize tweets via addthis.toolbox() (2 posts)

  1. ea1819
    Posted 2 years ago #

    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', "http://example.com/app/" + "?s1=ab,ef&s3=www");

    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!


  2. ea1819
    Posted 2 years ago #

    Just want to provide more info on the issue. The code I listed above works on gmail. kinda work on yahoo. On yahoo mail, the url got cut off after '&'. On linkedin, the url only shows the website address (upto .com).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AddThis Sharing Buttons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic