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

Resolve Short URLs To Their Destination URL with PHP (such as T.co, bit.ly & tinyurl.com)

scissors

In a few projects I’ve worked on recently, I’ve had to resolve short URLs to their destination URL. This post will show you how to: Resolve a single URL one level deep. Resolve a URL in a PHP loop until we reach a page that we deem to be the destination. Resolve multiple links obtained [...]

Tweet to Image Service

twitter-icon-image

There are a large number of websites that offer Twitter text to image type services and – although I don’t have a need to use any of them myself – I don’t like many of them at all. After a long look around, it seems that most of them plaster branding all over the image [...]

Count the Number of Shares to Facebook, Twitter, LinkedIn & Google Plus

share-button

I’ve recently consolidated two websites (FlyingTraining.net and CrewResourceManagement.com) into flight.org as a means of managing my time and resources more effectively. The other sites will be revived in one way or another but they’ll be built ‘low maintenance’. Apart from the multiple site to manage, there was a large overlap in content that was far [...]

Metar to Twitter Application

metar-to-twitter

Some time back I set up a number of Twitter accounts that would automate the hourly posting of aviation metars for a small number of airports (examples: @YSSYmetar & @KLAXmetar). I was later inundated with requests from people that wanted accounts set up for their own local airports. It was a little time-prohibitive to set [...]

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

Socialnomics Video 3: “Social Media Revolution”

social-media-world

It’s rare that we’ll come across an individual or business that isn’t tapped into social networks or social media in one way or another. It’s even less common that we’ll find somebody that isn’t aware of the paradigm shift in the way people now communicate, or the way in which we’re now required to conduct [...]

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