Add counter to social medias like twitter and google plus

bz_person
bz_person used Ask the Experts™
on
I'm not too familiar with the API of Twitter and Google Plus. Can someone put some light in my problem? I want to add a counter to my Twitter, Google Plus and Stumble Upon button. This will be integrated in my wordpress post and pages. I think already implemented the facebook button. My only remaining problem are, Twitter, Google Plus and Stumble Upon (optional).

Thank You!

<!-- 
Facebook
/////////////////
--> 
    <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>

    <a href="http://www.facebook.com/sharer.php?u=<?php echo urlencode(get_permalink()); ?>&t=<?php echo urlencode(get_the_title()); ?>"  name="fb_share" type="box_count" target="_blank" id="facebook">
    Share
</a>


<!-- 
Twitter
/////////////////
--> 

<a href="http://twitter.com/share?url=<?php echo urlencode(get_permalink()); ?>&text=<?php echo urlencode(get_the_title()); ?>" class="twitter-share-button" id='twitter' target="_blank">
    Tweet
</a>


<!-- 
Google Plus
/////////////////
--> 

<a href="https://m.google.com/app/plus/x/?v=compose&content=<?php echo urlencode(get_permalink()) . " " . urlencode(get_the_title()); ?>" id='gplus' target="_blank">
    Google Plus
</a>


<!-- 
Stumble Upon
/////////////////
--> 

<a href="http://www.stumbleupon.com/submit?url=<?php echo urlencode(get_permalink()); ?>" target="_blank" id='stumble'>
    Stumble
</a>

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
What is the goal here?  Are you:
Trying to capture the number of clicks on those share links for each social media outlet?
Trying to capture the sharing through those social media outlets?
Trying to display this information on the page itself?
Using this information for your own analytics only?
I ask because if you're looking for analytics, and perhaps some of the other options you could simply opt to use something like AddThis or ShareThis which would save you from having to develop it yourself and give you support for a far greater number of social media tools.  I'd recommend checking those out and see if you can get what you want from them and if not, let us know what you need that they don't provide (or if you need the exact same functionality but must build it yourself).
Jason C. LevineDon't talk to me.

Commented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial