Display WordPress Unicoded Characters

Recently upgraded my WP blog, and released some japanese/chinese characters (in Unicode) were displaying strangely, giving me question marks (????) and funny symbols (トトãƒ).

I learnt that this can be fixed by modifying the WP source file wp-config.php on the web server.  The change required is simply commenting the following 2 lines of code,  by adding a // in front of:

/** Database Charset to use in creating database tables. */
//define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
//define('DB_COLLATE', '');

Tags: , ,

Facebook API Apps – Get Your User’s Info

When developing facebook applications, you generally would like to obtain some basic information about a user.  To do this, we use the facebook API function Users.getStandardInfo.  See first lesson for an introduction to creating facebook applications.  Note, this will only work if the user has granted your application to access their information.

Read the rest of this entry »

Tags: , ,

Make Your First Facebook Application in 10 Minutes


This tutorial will show you how to create your very own facebook application by displaying some random text on a users profile.

This is suited for those beginning with their first application on facebook.

Prerequisites

- A facebook account
- A webserver to host the application contents, with PHP 5 support
- The PHP 5 client library or my sample application files to be installed on the webserver, as starting point.

Read the rest of this entry »

Tags: , ,