Automate WordPress Posts to Twitter (with hastags, truncation and a short URL)

wordpress-twitter-oauth

Some time back I posted some basic code that would enable a message to be posted to Twitter using their oAuth platform. The naked code isn’t overly functional because it was always intended to be used from within another PHP application. This article is for those people that have emailed me asking how the code [...]

Why You Should NEVER Post Your Email to Twitter

twitter-robot

In my quest to understand spammers, I’ve recently educated myself on a large number of techniques that they employ to search and extract emails (and other personal details) from various locations. Most disturbing is the prevalence of spammers that use various types of automated bots to pull email addresses from Twitter. This post will demonstrate [...]

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 [...]

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 [...]