This PHP script will post an update to Twitter using OAuth. You can download the complete script and library here.
The Actual Script
After living in Stoke-on-Trent for quite a while again now I’ve come to realise like many others that when needing to find something out about local government – generally you head to stoke.gov.uk. This is an old site that has been online for a number of years without too much improvement. For a lot of topics you can actually find the information you’re looking for eventually, but the problem is that the lack of updated information throughout the site and its lack of usefulness to the general public are just two points on a list of problems for the site.
In the age of open data and big society, local government websites need to work differently. For example, folks such as the bccdiy.com team have taken the challenge up themselves to provide a better service to local residents through the creation of a better online service to give news, information and data to local people in a more straightforward and usable manner.
There are a large amount of local people with the talent to create a new site and platform to provide a better service for the residents — but do we really think they’ll invest the money to do so? not in a million years. As Mike Rawlins recently stated in his blog, there seems to be the good, the bad and the need to improve.
At present, Mike, Matt, Mark and more are discussing the best way to go ahead with our own DIY project to provide a better set of services. When we’re ready to start testing, you’ll be the first to know.
You can get quick information about any of your Apple devices by using their self service warranty information page, located here. For serial numbers from iPhones and iPads it’ll show supported networks, current warranty status and a little more. Its also useful for checking legitimacy of serial numbers.
While working on the new cache pages for this site I came across the interesting task of parsing GPX files with PHP. SimpleXML is quite easy to use and with the children() function you can use namespace extensions – for example with GeoCaching exported GPX files. You can get an awful lot more information from a GeoCache GPX than with standard XML parsing.
The following is an example of a GPX file from the Geocaching site:
Now, as you can see there is a large amount of data contained within this file. Using PHP and SimpleXML you can extract this data quite easily, by doing something similar to this:
There is an emerging trend that local business won’t be able to ignore for too long. At the moment, all the rage with mobile devices seems to be location based services and games with Gowalla, FourSquare and Yelp being the primary platforms although Facebook is to launch its own version shortly which may comprise of an amalgamation of all three. These platforms reward users with points, prizes and badges the more they ‘check in’. I haven’t had chance to test out Yelp more yet, so I’ll exclude that from the results below.
There are a few subtle differences between the two platforms, which I’ll detail below. I’ve found that most people seem to use both Gowalla and FourSquare. At the moment, I’m leaning more towards being a Gowalla permanent user. I’ll outline a few differences with the platforms below.
|Feature / Terminology||
|Marking as Present||Check In||Check In||Check In|
|Most Frequent Visitor||Mayor||Leader||TBC|
The way in which people interact with business has changed. The entire customer service model is slowly changing and those who do not update their methods and ways will be left behind. In the US, the adoption of FourSquare and Gowalla has been picking up rapidly whereas in the UK its seen a slower adoption pace. One thing is for definite though, if you decide to provide offers to your customers/users of these services then you will drive traffic to your business and promote a better reputation with the digitalrati of the modern age.
This can provide to be key in the way in which your business is viewed. Trendy coffee bars in town centres are interested in seeing how they can use Gowalla and Foursquare to promote their business better. Promoting via one of these online services is like word-of-mouth on steroids. It’ll quickly get around the services and attract new people when they see their friends at your business.
Cafe’s in the larger cities have already started offering free coffee and a muffin for the Mayor of their location. Believe me, no one will refuse a free muffin.
In January this year when I first undertook the Tweekly.fm project in ran in a very different way than what it does now. I’ve completely rewrote the code base that the system works from. It now runs a lot faster and we can support more users than previous. I now run both statistics for Twitter (tweekly.fm) and for Facebook (laststat.us). The past few days I’ve pushed changes out that change the way the system interacts with Last.fm and how we store your data.
A major change in the way the system works has been added. Instead of providing your Last.fm username to us now we use the Last.fm Webauth (very similar to OAUTH in fact) to interact with your Last.fm data. Even if you protect your data within Last.fm we can collect and publish your data for you (should you wish to do so). Protected user support is now live within the Facebook application and will be coming to the Twitter version very soon.
The larger problem that we encounter now is capacity. We’re taking on average between 280 and 550 new users per day. Over our platform we currently sit at just over 55,000 users. The entire platform is being financed independently by me which isn’t the best form of business model. Simon and I have discussed recruiting for venture capital but to do that we would need to develop a sound model to work from that could provide a return on any investment. Anyone interested in discussing this, please get in touch.
Really glad you emailed, as I didn’t have any details to send a thank you, we love Steve and his mates, and such a lovely surprise to receive on a dreary Tuesday morning! If we feel a bit stressed we give Steve a squeeze and then all’s well with the world, it’s better than cake.
Thank you, again.
Jane, Justin, Sandra, Iran, Luke, Sam, H, Ian & Sophie.
I received this email the other day, after we sent down Steve and some bits ‘n bobs to the wonderful Pinky Murphy’s café in Fowey which truly should be one of the wonders of the world.
The system of rewarding customers with points, cards or discounts is a fairly standard practice amongst today’s modern business. This reward model is based around rewarding for purchases of goods and services and then allow these customers to choose a gift in return to reward their loyalty. The existing implementation are this reward network is singular in nature except for organisations such as Sainsbury’s nectar.
I believe that modern customers would be more beneficial to a system that was shared between businesses and then allowed the customer to take reward points to another company should they wish to do so. Providing the spread of reward was equal or near to equal over all participating organisations, then this model would be extremely beneficial to the customer who may for example not wish to have a gift from shop A, instead choosing a gift from shop B.
The new age innovations that customers have access to such as the Internet, mobile phones and smart phones provide rich platforms for interaction with business. Devices such as mobile phones or smart phones that have Bluetooth could be registered against a user record and then through transmitters in store, promotional adverts or messages could be delivered via OBEX push when the user is nearby, as shown in the diagram below.
The transmitters shown above would be looking for known Bluetooth devices. Of course this would only happen if the handsets were configured to allow OBEX items to be pushed. Alternatively, an email could be sent to the user (taken at opt-in) with discounts coupons for that day. Bluetooth’s proximity would allow tracking up to around 10 metres for most handsets which would be close enough for interaction. This would then drive customers to pursue interesting offers and lead to more sales.
In the diagram below, relationships are displayed in colours so that it makes it easier to indicate what they represent. The yellow arrows show the relationships between a customer or group of customers and the businesses that they frequent. The purple arrows show the intranet-based or Internet-based link up to a central system. The blue arrow and read our indicate a link between the customer of being at home or on a smart device and interacting with the central system. This could be to engage in choosing a reward gift or simply updating their account details.
This system would also allow for flexibility and grouping users so that they may work together and obtain larger gifts. The biggest challenge in implementing a better, more advanced system would be gaining the participation of the larger organisations from which people choose to purchase their goods from. I do honestly believe that gap could be bridged then it would not be too far from the future to implement such a new system.
Over the past six years we’ve seen major developments around the world in online services and computing. Traditional web sites such as Google, Amazon and eBay have now transformed into multinational platforms offering more than just a site to use. All of the services I’ve just named still provide their main web site, but isn’t it about time we started referring to them as platforms rather than sites. In my opinion, it is.
You can do so much more than simply search with Google or buy with Amazon and eBay. I don’t see the naming and references changing any time soon, but this is a thought I’d like to see come to fruition. The traditional roots of each of these large platforms can never be forgotten but through their own research, development and improvements they’re providing excellent services for the rest of the world to use.
In the more recent history, Twitter and Facebook have provided platforms for people to develop with which in turn created a boom for both enterprises. Its nice to see Facebook referring to their infrastructure and service as a platform, rather than a site. Perhaps others can follow suit, but I doubt it.