Twitter Redux
I’m going to make a better attempt at using Twitter more often. Today I put a little snippet of JS on my tumblr to show my most recent “tweet.” If you want something similar on your tumblr or blog or whatever just copy and paste the code below, and change jacobdehart to your twitter username!
<div id="twitter"></div>
<script type="text/javascript">
function twitter(ob){
if(ob.length>0){
document.getElementById('twitter').innerHTML = '<div>“'+ob[0].text+'” <span> via <a href="http://twitter.com/jacobdehart">Twitter</a></span></div>';
}
}
</script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/jacobdehart.json?count=1&callback=twitter" ></script>
0 notes
POSTED Friday March 14th