Archive for the Web design Category

Facebook Platform LogoFacebook recently released the Facebook Platform which allows developers to write applications and tools that run inside users’ profiles and within Facebook itself. So far, the Platform has been a huge success. Dozens of useful applications are coming out every day and most users are very excited for the extra functionality.

I am in the process of writing an application that brings together Flickr sets and Facebook photo albums. Unfortunately, the current implementation of the Facebook Platform lacks the ability to easily upload photos to a user’s account.

To remedy this situation, Paul Wells and I decided to writing our own addition to the Facebook PHP5 Client Library. Using it is as simple as uploading the file to your server and changing two lines of code in your existing applications. The best part is that our class does not involve code hacks at all. Our classes simply extend the current ones and add the functionality we want. The advantage to this approach is that the code will still work if Facebook updates the API.

To download the code and see an example of it’s use, visit the project page.

I was pleasantly surprised with how easy it was to install a WordPress blog to my server. I use GoDaddy for hosting. The only problem I encountered during the installation was when I wanted to change my permalink structure.

The problem arose when I switched from “ugly permalinks” (http://example.com/?p=N) to “pretty permalinks” (http://example.com/year/month/day/post-name). I already had a .htaccess file in my root directory, but when switching permalink stuctures, WordPress attempts to write it’s own .htaccess file. Since mine was already in place, it failed and I started getting 404 errors on every pages except the home page.

(more…)

Socialized through Gregarious 42