I created shortlinks on my own service using a pretty link plugin on my website.
My problem is now, whenever I tweet something, it isn’t displaying a proper count.
My twitter displaycode is this
function twitterLike(){
global $post;
$via = get_user_meta(‘user_twitter’,$post->post_author,true);
$title = $post -> post_title;
$url = mediaSocial::postLikeUrl();
$posttags = get_the_tags();
?>
< 'a href=“https://twitter.com/share” class=“twitter-share-button” data-url="<?php echo $url; ?>" data-via="@NoVoiceless <?php if(!empty($via)){echo "@".$via;}?> “data-lang=“en” data-text=”<?php echo $title; ?>" data-related=“anywhereTheJavascriptAPI” data-count=“vertical” data-hashtags="<?php if ($posttags){foreach($posttags as $tag){echo $tag->name . ', ';}}?>">Tweet
<?php
}
the short url for example would be this http://n0v.co/1nhc << when you go here, it takes you to the page, and when you try to tweet it, it attemts to share the short code… BUT, it doesn’t up the count… so no matter how many tweets and retweets it gets, it always says 0…
If it doesn’t have the short code, it works fine. any thoughts as to why?