IE7 Tweet Button URL too long

socialheinz Aug 02, 2012 04:57PM EDT

Hello,

We've created a page for our client that's very customized -- all the OG tags set, a custom tweet on the Tweet button, several settings on the add_this_share variable, and four custom Addthis email template variables. The problem we're experiencing is that the Tweet button (and sometimes the Pinterest Pin It button) will not render on IE7 because the url it's creating is too long (length limit = 2083 chars - http://support.microsoft.com/kb/208427). I've cut way down on everything I can -- but the client still needs a nice long piece of custom copy to be entered into the email template for each page.

Is there anything I can set to keep the IE7 Tweet and Pin It buttons from populating *all* the custom data from the page?

Here's an example of our code, with the client name removed:
<meta property="og:title" content="ClientName"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="http://oursite.com/products-productname.aspx"/>
<meta property="og:image" content="http://oursite.com/images/facebook_imagename.jpg"/>
<meta property="og:site_name" content="Lorem ipsum"/>
<meta property="og:description" content="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum suscipit vestibulum. Praesent porta nibh a ante luctus ac posuere dolor tincidunt. Nulla facilisi. Vestibulum at gravida metus."/>

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_email"></a>
<a class="addthis_button_facebook_like" id="fb_like"></a>
<a class="addthis_button_tweet" tw:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum suscipit vestibulum." tw:via=""></a>
<a class="addthis_button_pinterest_pinit" id="pin_it"></a>
</div>

<script type="text/javascript">
var addthis_config = {data_track_clickback: false};
var addthis_share = {
email_template:"H_V_P",
email_vars: {
vI:'e_mv',
vH:'Lorem',
vT:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum suscipit vestibulum. Praesent porta nibh a ante luctus ac posuere dolor tincidunt. Nulla facilisi. Vestibulum at gravida metus. Curabitur porta sapien quis metus euismod sit amet laoreet felis elementum. ",
vX:"extra text var"
},
url_transforms: { clean: true, shorten: { twitter: "bitly"} }
};


And here's how the Tweet button link is rendering (approximately -- the text is actually longer, but I removed the client's info):

http://s7.addthis.com/static/r07/tweet018.html?href=http%3A%2F%2Foursite.com%2Fproducts-productname.aspx&dr=http%3A%2F%2Foursite.com%2Fproducts.aspx&conf=product%3Dtbx-250%26data_track_clickback%3Dfalse%26username%3DClientName%26pubid%3DClientName&share=email_template%3DH_V_P%23%40!email_vars%3DvI%253De_bv%2523%2540!vH%253DLorem%2523%2540!vT%253DIpsum%252520dolor%252520sit%252520amet%252520lorem%25252C%252520ipsum%252520dolor%25252C%252520sit%252520amet%252520lorem.%252520Ipsum%252520dolor%252520sit%252520amet%252520Lorem%25252C%252520ipst%2525E2%252580%252599s%252520dolor%2523%2540!vX%253Dextra%252520text%23%40!url_transforms%3Dclean%253Dtrue%2523%2540!shorten%253Dtwitter%25253Dbitly%2523%2540!defrag%253D1%2523%2540!remove%253D0%25253Dsms_ss%252523%252540!1%25253Dat_xt%252523%252540!2%25253Dat_pco%252523%252540!3%25253Dfb_ref%252523%252540!4%25253Dfb_source%23%40!imp_url%3D1%23%40!url%3Dhttp%253A%252F%252Foursite.com%252Fproducts-productname.aspx%23%40!title%3DLorem%2520Ipsum%2520dolor%2520Sit%25C2%25AE%2520amet%23%40!passthrough%3Dpinterest_share%253Dmedia%25253Dhttp%2525253A%2525252F%2525252Foursite.com%2525252Fimages%2525252Ffacebook_productname.jpg%252523%252540!url%25253Dhttp%2525253A%2525252F%2525252Foursite.com%2525252Fproducts-productname.aspx%252523%252540!description%25253DLorem%252525C2%252525AE%25252520Ipsum%25252520Dolor%25252520Sit&tw=via%3D%23%40!text%3DAmet%2520Lorem%2520ipsum%2520Dolor%2520Sit%2520amet%2520Lorem%25C2%25AE%2520Ipsum%2520Dolor%2520sit%2520amet%2520lorem%252C%2520ipsum%2520dolor%252C%2520sit%2520amet%2520Lorem%2520and%2520ipsum%2520dolor.%23%40!url%3Dhttp%253A%252F%252Foursite.com%252Fproducts-productname.aspx%23%40!counturl%3Dhttp%253A%252F%252Foursite.com%252Fproducts-productname.aspx%23%40!count%3Dhorizontal%23%40!related%3D%23%40!width%3D110#

Any help you can offer on this matter would be greatly appreciated.

Thanks!

This question is closed to new answers.

Still need help?


General Topics

 

Developers