April 7, 200917 yr Hi, I'd like to set up a Twitter account for the purpose of 'live' updates to a website, so I can text the Twitter account and have the information displayed on a web page. I've been looking around the web for the last while but can't seem to find what I'm looking for, most of my findings are geared towards integration with Wordpress. Being able to style the interface is a must, so it can blend seamlessly into the sites design. How would I go about doing this?
April 7, 200917 yr Wordpress? Wordpress does have an awful lot of the functionality you need if you use the Twitter Tools plugin. However, if all you want to do is pull a twitter feed onto a website then you'll need one of the very many PHP implementations of the Twitter API and a simple php request. This is an extensive implementation of the Twitter API in PHP: http://lab.arc90.com/2008/06/php_twitter_api_client.php Basically this gives you a load of functions to access twitter in different ways that you can use in your own PHP. Twitter is like most web services these days, you can send it requests via special URLs and it will send back responses in a number of forms (XML, JSON etc). Those special URLS are defined in the Twitter API, but instead of using them directly, you use a PHP implementation so that you only have to use a set of easy-to-use php functions in your code. For most PHP implementations you'll need to have cURL (a php library used to send requests the to the URLS & receive the responses) installed on your sever. If you use Arc90 I think everything you need to know is on the website
April 7, 200917 yr http://twitter.com/widgets Explains and gives you code on how to put twitter updates on a website
April 9, 200917 yr Author Thanks for the help Went for the widget in the end - turned out to be really simple - just couldn't see the downloads page untill I actually set up a Twitter account lol Now all I have to do is find a use for it!
April 10, 200917 yr I was looking for the same information and fortunately its right here; cheers guys
April 10, 200917 yr As the other guys have said, it's pretty easy to intergrate Twitter into your website, if you don't want to use widgets/flash etc .. On the right of your twitter page you should have the RSS link "RSS feed of xxx's updates" .. Pipe this link through an RSS feed aggregator (such as SimplePie etc), and you can then display your updates in text format to fit the look, style and feel of the rest of your site...
Create an account or sign in to comment