Posts Tagged 'Social'

Primarily the focus on this tutorial is to display your cached tweets for 2 users using PHP and OAuth on your website. We will be accessing the secure Twitter 1.1 API with PHP by parsing both json files and merging them into a single file to cache and store on your server. This is a follow up from Display Your Cached Tweets Using PHP and OAuth which is recommended for a single twitter user.

The art of film-making has undergone a massive transformation since the time of its inception. Not all that long ago, viewers were famously jumping out of the way of an oncoming train- dazzled by the ‘high-tech’ innovation of moving pictures. It’s a little harder these days to get such a reaction from cynical crowds who have ‘been there, done that’ a thousand times before. So what can film-makers and cinema bosses do to keep their screens packed with punters?

Primarily the focus on this tutorial is to display your cached tweets using PHP and OAuth on your website. We will be accessing the secure Twitter 1.1 API with PHP by parsing and caching the Json file to store on your server. It may seem a lot of code just to display your latest tweets on your website but the benefits are that you can style it to your own taste with a little CSS and caching the Json file will not add extra load on the Twitter API. For WordPress users you should use WordPress – Display your Cached Tweets using PHP and OAuth or my new plugin.

Primarily the focus on this tutorial is to display your cached tweets using PHP and OAuth on your WordPress website. We will be accessing the secure Twitter 1.1 API with PHP by parsing and caching the Json file using the WordPress API. It may seem a lot of code just to display your latest tweets on your website but the benefits are that you can style it to the taste of your theme with a little CSS and caching the Json file will not add extra load on the Twitter API.

New Update. I have packaged all of the features and more into a WP plugin. Please remember to remove any of the code used from this post before installing the plugin. Check out WOW-Twitter.

As you may, or may not know, Twitter are going to depreciate version 1 of their API next March. What does this mean to you? If you currently parse the Json file to display your tweets you will no longer be able to have access unless you use the authentication features. Why authentication? Various reasons I assume to limit users from making unnecessary calls to the API, Security reasons. How do I go about it? Well now you will have to create a Twitter App then use a form of authentication to make the API call.

There are lots of resources out there for displaying your latest twitter posts in your website. Some of them require plugins or some may require javascript to work. After trying a few scripts I came across a little PHP script from The Lylo Files that displays up to 20 of your posts on your web site. After using it for a little while I decided to make it more functional.

Now that I am a twitterer I have decided to integrate twitter into my WordPress theme. I decided to install WP-Twitip-ID which adds a form field into your comments template, stores the twitter id that is entered and then displays the corresponding twitter ID within the comments.

Popular Tags

About

WorldOWeb was initially designed to inform people on new software and security for Windows. Nowadays I post on things I like and come across in the web design world and throw in the occasional linux resource.