Mamado Inside

15 March 2007

Adding Social networks buttons to posts

Filed under: autohotkey, development, wordpress — mhussein @ 5:37 pm

I wanted to add social networking buttons (, reddit, digg, …) like:
add to Digg it Stumble It! Add to Blinkslistadd to furladd to ma.gnoliaadd to simpyseed the vineTailRank
to the end of every post, There is no way to do it automatically as doesn’t support modifying the post template.

I found an ecellent post about this at sunburntkamel as I am very lazy (as most software developers) I have created a simple autohotkey script to do it for me.

The script prompts you for the url and the title then reads a simple template file adapted from sunburntkamel’s, and add the html code to the Clipboard ready for pasting.

you can download the script at This is a very simple script (I spent less than 10 minutes in writing it, most of that time writing comments, yes, I do write comments 🙂 whenever I can of course.)

Please tell me if you know a better way, or if you have problems or comments on the scripts.

add to Digg it Stumble It! Add to Blinkslist add to furl add to ma.gnolia add to simpy seed the vine TailRank



  1. I know that you didn’t have newbies like myself in mind when you wrote this, but could you tell me how to run an autohotkey script? I get that it is basically an automated find and replace that will end with some code to be pasted to the bottom of a post, I’m just not sure how to make it run. Sorry to make you explain what must seem obvious…

    Comment by monkeybizness — 19 April 2007 @ 7:41 am

  2. Me too … what do we do with the script if we have a blog?

    Comment by Gloria Hopkins — 30 May 2007 @ 3:30 pm

  3. Hello

    I am Lucy, I have found your website while searching for some info at Google. Your site has helped me in a big way.


    Comment by rogotenin — 6 July 2007 @ 8:22 am

  4. To answer #1 & 2: You need the AutoHotKey program (it’s free) –

    Comment by abbydonkrafts — 20 July 2007 @ 2:25 am

  5. I managed to run the script but had to manually enter the Permalink URL and the title each time manually into the Social Signature prompt. Is there any way for it to “grab” that info from the webpage directly? Also it didn’t respond well to Greek text 🙂

    Comment by SimonSays — 1 August 2007 @ 9:54 pm

  6. There seems to be a problem with the above zip file “” – when I download it and try to open it with winzip it says it does not apperat to be a invalid archive.

    Comment by radiofc — 8 August 2007 @ 5:06 pm

  7. I can’t get it to download either. Just brings up a gazillion meaningless characters.

    Comment by letters — 9 August 2007 @ 12:44 pm

  8. Tried to download it as well, FileXoom doesn’t have the file it looks like. I’ll check the blog again another time 🙂 Looks like a really great script to use!

    Comment by A Villager — 13 August 2007 @ 8:45 pm

  9. Oh, just checked FileXoom’s front page announcements. They moved servers and have up to a 20 day delay on files being transfered to the new location. I’ll definitely check back in a week or so!

    Comment by A Villager — 13 August 2007 @ 8:49 pm

  10. Since I have plenty of unused bandwidth, I have hosted the file for you:

    Comment by abbydonkrafts — 14 August 2007 @ 4:10 am

  11. Thanks abbydonkrafts! 🙂

    Comment by A Villager — 15 August 2007 @ 8:19 pm

  12. Thank you SO MUCH! I’ve been trying to figure this out for ages!! Rock on WordPressers!

    Comment by Brandie Kajino — 18 August 2007 @ 2:52 am

  13. At the risk of feeling like the one with the dunce cap on, I’m having trouble getting this to work.
    * I downloaded autohotkey
    * I downloaded the scrip

    What *exactly* do I need to do to activate/use this functionality?


    Comment by Gretchen Anthony — 23 August 2007 @ 11:54 pm

  14. You will want to install AutoHotKey and associate it with the scripts (I think it does this by default).

    Extract the script and other files into its own directory. Double-click on the “social.ahk” file.

    That will put AutoHotKey in the system tray.

    Find out the complete address of your blog entry. If you have already published the entry, it will be the Permalink address for it.

    If you haven’t published it, you can manually input the “Post Slug”. So, if you were to create an entry titled “This is a test post”, you can enter something like “test-post”, or the typical auto one “this-is-a-test-post” into the Post Slug box.

    The rest of the address will be your blog address and the date. If I was to do the above example right now, the complete address would look like this:

    Once you have the complete address, right-click on the AutoHotKey icon in the tray and choose “Social Signature”.

    In the first box that pops up, enter the complete address as explained above.

    In the second box, enter in the title you want to be used when someone chooses an icon. I use the format “Blog Name – Blog Entry”. For the example given, I’d enter:

    Random Ramblings – This is a test entry

    After that box is confirmed, the complete code will now be in the clipboard.

    On the Write Post page, make sure you are in the Code tab. At the bottom of the code, add a couple of blank lines. Paste in the social code with CTRL+V.

    Now, you can see the results by Saving or Publishing. The Visual tab shows them as all crunched together, but the blog theme probably doesn’t display them that way.

    If you want to modify the way it’s displayed, such as adding spacing characters like “::”, you can edit the script and add them after the /a tags.

    Comment by abbydonkrafts — 24 August 2007 @ 12:26 am

  15. Wow. That was long. Also, I meant:

    For the example given, I’d enter:

    Random Ramblings – This is a test post

    Comment by abbydonkrafts — 24 August 2007 @ 12:28 am

  16. Hi,

    The script is no longer on filexoom. I clicked the link and got a page with the following message — amongst other things. What to do?

    Server Issues
    Posted on 08/02/2007 06:09PM

    We currently just moved servers, and are working on moving all files over to the current server. All users should now be imported and be able to log in. If your files are not there, please be patient as they can take up to 20 days to transfer!

    If you need your files faster, please email support (at) filexoom (dot) com with your email address and we will try to import your files soon.

    Once again we appologize for any innconvience, but we are trying to provide the best support for our customers.

    Server Administrator

    Comment by saeed — 25 August 2007 @ 5:19 am

  17. saeed: Look at my reply.. #10

    Comment by abbydonkrafts — 25 August 2007 @ 5:11 pm

  18. Sorry for my ignorance, but how do you make the images bigger and separate them?

    Comment by jdavey — 31 August 2007 @ 2:59 am

  19. You can’t make them bigger. If you did, they’d be distorted. You can replace the references and point them to your own if you want. You can edit the template.txt file and do what you want to it. To separate the images, such as with “::”, just add it in between all instances of:

    <a ..

    Comment by abbydonkrafts — 31 August 2007 @ 4:02 pm

  20. Dang.. that didn’t work. Let’s see if this does. Add any spacing between all instances of:

    </a><a ..

    Comment by abbydonkrafts — 31 August 2007 @ 4:03 pm

  21. And to clarify, you want to put the spacer inbetween the brackets, like this:

    </a> :: <a ..

    Comment by abbydonkrafts — 31 August 2007 @ 4:04 pm

  22. When I try to open the social.ahk file, I get a message that Windows can’t and needs to know which program created it. I did a websearch, which didn’t help. Can you help please?


    Comment by ellaella — 1 September 2007 @ 9:21 am

  23. You need to install AutoHotKey. I provided a link in comment #4. Here it is again:

    Comment by abbydonkrafts — 1 September 2007 @ 8:19 pm

  24. Mea culpa. I overlooked that, obviously. Thanks very much…it’s working fine.

    Comment by ellaella — 1 September 2007 @ 11:54 pm

  25. Hi and thanks in advance for the previous info and comments

    everything worked fine up to the point where I’m ready to add in on the code tab with the CTRL+V but nothing seems to paste


    Comment by Mrs. Silence Dogood — 19 September 2007 @ 12:33 am

  26. are there any solutions for the mac community?

    thank for the help

    Comment by extravagante — 2 October 2007 @ 6:02 pm

  27. Thanks for that – I am just getting a blog started and that has saved me a heap of time.

    Comment by butterflug — 16 October 2007 @ 8:28 pm

  28. c4tolodarla

    Comment by relaceldront — 28 October 2007 @ 4:14 am

  29. I’m having the same problem as #25 above. When I paste, nothing happens. Any suggestions?

    Comment by Barry Shrum — 6 November 2007 @ 10:51 pm

  30. Thanks Mamado. I have followed your instructions above. But I am also having the same problem as #25 and #29 – There is nothing in the clipboard.

    Comment by officechairuk — 1 December 2007 @ 6:36 am

  31. Same problem as 25,29 and 30. Is it a Visa issue?

    Comment by inzax — 2 December 2007 @ 11:06 pm

  32. Ok, it was not working for me as 25,29 and 30 also stated. I went to the folder containing “socialsignature”. This is the file containing the social.ahk file. I left clicked on the file and selected the option “compile script” This produced a icon in the same folder called “social.exe”. Clicking on social.exe produced an icon in my menu bar. Right clicking on this icon gave me the option to select “social signature.” Once I did that I followed the instruction pop ups and had the items on my clipboard when I hit “ctrl-v”.

    Someone more learned then myself can explain why this works.

    Comment by inzax — 2 December 2007 @ 11:21 pm

  33. sorry…right click on the social.ahk file NOT LEFT CLICK.

    Comment by inzax — 2 December 2007 @ 11:33 pm

  34. Hi Mamado & everyone. I’m back again (comment #30 above). I thought I would clarify how I have now been able to get this to work.

    (1.) Install AutoHotKey
    (2.) Extract the “social.ahk” file from its .zip file (I did not follow this step!)
    (3.) Right-click the “social.ahk” file and then click “Compile Script” on the pull-down menu. This will create “social.exe”
    (4.) Now double (left) click “social.exe” to put it onto your system tray
    (5.) Follow the rest of Mamado’s instructions in comment #14 above.

    Thanks, Mamado for this great tool!
    And thanks, Inzax, for helping me find what I was doing wrong.

    Comment by egunjobi — 21 December 2007 @ 4:33 am

  35. Clarification:
    Step (0.) Download AutoHotKey (see comment #4 above) and (see comment #10 above).

    Comment by egunjobi — 21 December 2007 @ 4:37 am

  36. […] is a great post on how to add a collection of social network buttons to your posts here. I struggled with the process at first, but with the help of another commenter on the post I […]

    Pingback by Add Social Networks Buttons to Your Posts « Bola Egunjobi — 21 December 2007 @ 5:45 am

  37. looks like a great script my friend, I’ll be sure to give it a try. I saw your post on
    And figured I’d stop in and say high : ) Check out my blog in the future for some cool ways to save money or do some hacks you may not have know about.

    -Bob None

    Comment by corphacks — 27 February 2008 @ 10:29 pm

  38. Thanks for this nifty script. It took me a few goes but I have it working now.

    Thanks to all the comments too – they helped as well.

    Comment by Cat — 7 March 2008 @ 12:52 am

  39. I can get to the spot where the social.exe file prompts for the true URL and title. Once I click okay in the prompt for the the title, nothing happens. What am I missing?

    Comment by kstafford — 9 March 2008 @ 11:45 pm

  40. I, too, was hoping to download this wonderful script but I get a 404 message when I click on the link for it. Any help?

    Comment by collateraldamage — 18 March 2008 @ 3:47 pm

  41. […] situations, too. But this month, I have made a smidgen of progress on both fronts: With the help of Mamado Inside (including comments), I learned to put social bookmarking buttons at the bottom of my blog […]

    Pingback by March update: Expanding blogroll « Let’s play math! — 31 March 2008 @ 6:40 pm

  42. […] Mamado tiene un post con las explicaciones en inglés […]

    Pingback by Marcadores sociales para « Destellos de Luna — 12 May 2008 @ 3:20 am

  43. WONDERFUL! Thanks!

    Question…do you know if Tailrank blocks access from When I click on that icon, I get an error. Also, when I try to enter my blog address on the Tailrank site, I get the same error.


    Comment by Rene Tyree — 10 June 2008 @ 5:59 am

  44. Very useful, thanks a lot!

    Comment by Joshua Koopferstock — 17 June 2008 @ 11:11 pm

  45. oh my god you are a life saver. thank you so much for helping us out with this.

    Comment by jillprovost — 28 June 2008 @ 6:16 pm

  46. Oh man… I would say you are a life saver too, for I have been looking for something like that script of yours for quite some time… but the link returned a 404 on me 😦
    If you ever fix this, please let me know, I would be most grateful 😀

    Comment by ego84 — 22 September 2008 @ 10:44 am

  47. hello, mamado and everyone.
    i just tried your script and placed it in one of my blog entries. thanks very much for sharing this.
    but when i tried to do a test- bookmark of my blog entry in delicious, instead of my blog’s url, what appeared in the url box (of delicious) was “http://xxURLxx/”. i tried to bookmark using the reddit and stumbleupon, among others, but since i’m not a member of these bookmarking sites yet, i was taken to the sign up area.
    would be helpful if someone can help me figure out what i did wrong.
    many thanks. 🙂
    oh btw, i modified the script a bit because when you hover the mouse to one of the buttons, what appeared was “xxTESTxx”, thus i replaced all these with the names of the sites corresponding to the buttons. thanks again.

    Comment by batangnewsroom — 29 November 2008 @ 9:47 pm

  48. uh, sorry… i meant what appeared when you hover the mouse over the buttons was “xxTITLExx”.
    thanks again.

    Comment by batangnewsroom — 29 November 2008 @ 9:49 pm

  49. I’ve tried everything mentioned above – i.e. using both the social.exe and autohotkey icons from my system tray, but still end up with the same problem: nothing in the clipboard. Any other suggestions? Did any of the people previously having this issue solve it using social.exe?

    Comment by Howard Sewell — 7 February 2009 @ 1:21 am

  50. […] Mamado tiene un post con las explicaciones en inglés […]

    Pingback by Como agregar marcadores sociales a « Espacio de Cordura — 20 February 2009 @ 12:54 am

  51. продам Форд-Фокус 2008 года за 200 тр. торг возможет. срочно!!!
    +7 960 200 9209

    Comment by Incimbvic — 8 March 2009 @ 1:48 am

  52. mamado thanks for sharing the tips…it’s really work in my site…

    p/s:may i know who is nomen ?

    Comment by leed — 30 March 2009 @ 7:53 pm

  53. Awesome, I did not heard about this topic till now. Thanks!

    Comment by moolidonsok — 10 December 2009 @ 3:29 pm

  54. […] to this blog download the script it won’t be the one in the first description go to the 10th post, I […]

    Pingback by Wanna Add Social Network Buttons to Your Posts? « Jaded Notepad — 16 December 2009 @ 9:48 am

  55. ที่พักนครสวรรค์
    มาพักที่นครสวรรค์ ต้องที่นี้ที่เดี่ยว “พาร์คเวย์ รีสอร์ท” ห้องพักที่รายล้อมด้วยความร่มรื่น ของแมกไม้ เพื่อให้ทุกท่านได้มีโอกาสได้สัมผัสธรรมชาติ อย่างใกล้ชิด ในช่วงเวลาแห่งการพักผ่อน ท่านจะได้พบ กับความสงบร่มรื่น เป็นส่วนตัวสดชื่นใกล้ชิดธรรมชาติ

    Comment by jnetnon — 5 July 2010 @ 3:40 am

  56. Review the end of the trading of good quality, affordable child at our website.
    Fisher Price Aquarium Cradle Swing

    Comment by jnetnon — 10 April 2011 @ 2:47 pm

  57. Howdy! Do you know if they make any plugins to protect against
    hackers? I’m kinda paranoid about losing everything I’ve worked hard
    on. Any tips?

    Comment by auto approve directories — 14 September 2012 @ 5:50 pm

  58. Hello everyone, it’s my first go to see at this website, and paragraph is really fruitful in favor of me, keep
    up posting these posts.

    Comment by Update Bola — 13 November 2017 @ 7:29 pm

  59. Money online

    Adding Social networks buttons to posts | Mamado Inside

    Trackback by business coaching training — 18 November 2017 @ 3:12 am

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: