Want to create your own Tweet this button so it fits in with your design (or just doesn’t look like the official button) AND you want to include a hashtag?
Well, here’s what you can do:
- Create your link around text, an image or whatever else you can think of
- Point your href to http://twitter.com/share
- Add some querystring variables to generate the tweet
- That’s it!
So, the querystring variables I’ve used (for a basic tweet including hashtags) are:
- url (this is needed in order to get someone to visit your site from the tweet)
- text (this is the body of the tweet)
- hashtags (a comma seperated list of hashtags placed at the end of the tweet)
Here’s the resulting link:
There is also a list of the other variables you can use at https://dev.twitter.com/discussions/512
-
meteoracle posted this