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

Twitter Style Time: “Posted n Seconds/Minutes/Hours/Days Ago” (and WordPress Shortcode to Reference Other Posts)

twitter-clock

The Twitter and Facebook style of referencing time since a post was published is becoming increasingly popular. Basically, instead of a standard date and time, both platforms will display a post timestamp in simple language (example: Posted 5 hours ago, Posted 2 days ago, Posted 15 seconds ago… and so on). This timestamp functionality is [...]

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

[Shortcode] Examples [1]

I’ll be posting shortcode from time-to-time that will accomplish some measure of functionality in your blog. If you haven’t already, it may be worth reading a brief introductory post to shortcode before continuing. Publish the number of posts on your blog in a dynamic way I’m not sure why you would want to post the [...]