I\'m using the most recent version of the Facebook SDK (which lets to connect to something called the \'graph API\' though I\'m not sure). I\'ve adapted Facebook\'s example
header('Content-type: text/html; charset=utf-8');
input in your page.