/ Published in: PHP
This snippet returns a link to twitter for the user to tweet the current page. URL is TinyURLed automatically (and tinyurls are cached indefinitely in assets/cache/tweetthis.txt).
Simply paste code into a new snippet called "TweetThis". Call it like so:
[[TweetThis? &name=\`@DaveChild\` &text=\`Tweet This!\` &id=\`7\` ]]
All parameters are optional. ID defaults to current document.
Simply paste code into a new snippet called "TweetThis". Call it like so:
[[TweetThis? &name=\`@DaveChild\` &text=\`Tweet This!\` &id=\`7\` ]]
All parameters are optional. ID defaults to current document.
URL: http://www.addedbytes.com