Determine the Relationship between two Twitter Users

twitter-relationships

If you want to test the relationship between any two Twitter users (i.e. do they follow each other or don’t they), you can do so via a simple call to the following URL: http://twitter.com/friendships/exists.xml?user_a=martykhoury&user_b=kenpascoe This will return a XML file as follows: Alternatively, you could generate a JSON file that will simply render as either [...]

Include Twitter Data on your Website

twitter-data-website

Every application I build now is littered with various types of functionality that links them into different social network. If you’re reading this post it’s unlikely I’ll have to educate you on the merits of plugging your website into the social lives of your readers. What follows is some code that will help you integrate [...]

Count the number of times your page is Tweeted via the TweetMeme API

tweetmeme

TweetMeme is an excellent site that offers various types of Twitter-based social integration to your website. They’re particularly relevant when it comes to finding current news of interest because they measure the number of times a certain website has had their story published or tweeted to Twitter. Those stories that have the most tweets are [...]

Include a Twitter word cloud in WordPress using shortcode

twitter-wordcloud

Douglas Brown from BrownPHP.com wrote a great little Twitter class in late 2008 that enabled certain Twitter functionality – much of it now redundant with the mandatory use of OAuth. As part of his class, he wrote a cool little snippet of code that would create a word cloud for an individual Twitter user. This [...]

Post to Twitter using OAuth

twitter-oath

I have about 30 websites that communicate with Twitter in one way or another and, until a few months ago, I did so via the API that they retired on September 1st. Previous means of sending tweets to Twitter no longer work. The only method of integrating applications now is via OAuth – a far [...]

Email subscription form in your RSS feed?

email

I read an interesting thread today on a blogger forum regarding both the need to convert RSS subscribers into mail subscribers, and how an RSS feed could potentially be monetised (or marketed) beyond typical adverts. Personally, I very, very rarely click on advertising in RSS feeds simply because the destination websites aren’t usually compatible with [...]

Twitter using CURL via their API

Note: This method of posting to Twitter is fully depreciated. You should now use OAuth instead. Read more here.   Twitter has a very cool and robust API that makes building applications a breeze. More on that in another post. More often than not, people are after a simple method of posting data to Twitter [...]