Posted By

adamturtle on 06/01/11


Tagged

php html wordpress twitter


Versions (?)

Share link via new Twitter


 / Published in: PHP
 

Twitter have changed their api, and using the old twitter.com?status=… doesn't work anymore. This uses the new 'Web Intents' method.

  1. <a href="http://twitter.com/intent/tweet?text=<?php the_title(); ?>&url=<?php the_permalink(); ?>" title=”Click to share this post on Twitter”>

Report this snippet  

You need to login to post a comment.