Categories
PHP Twitter

Twitter Badge generator

Yesterday I saw the Twitter Follow Badge in several pages…I actually like it, but I don’t like how is it generated and how it works.

I found this things that I didn’t like:

  1. Uses an external JS that need to be load form another page.
  2. The link can’t be followed from bots and you can’t open it in another page.
  3. There was no title in the link since there’s no real link.
  4. There’s an about that redirect to the site of the owner.
  5. The link to your twitter is a redirect from their site.
  6. Uses an static image for the text.

What I did is start a new script that generates a badge in html with css, with few options and fixing all the other things that I talk before.

Generate a follow twitter badge! and try this 😉

Still To do:

  • Fix ie6 (Help please!)
  • Choose between right or left
  • Choose the distance from top
  • Choose image (or disable)

Since last night I’ve been working on this. It took me so long since I’m not a web designer and CSS is kind of difficult for me xD also I tried to make it work in ie6 but I really can’t.

Script Name: twitterBadge
Version: 0.1
License: GPL v3
Description: Generate a Twitter Badge for your site like the one in the right side.
Support: https://garridodiaz.com/

Notes:

Works in FF 3.5, Chromium, ie7,ie8, NO IE6

Download (you will dowload the script that generates the form images etc…)