I\'m using FQL to retrieve a list of users from Facebook. For consistency I get the result as JSON. This causes a problem - since the returned JSON encodes the user IDs as n
Quick and dirty, seems to work for now :
$sJSON = preg_replace('/:(\d+)/', ':"${1}"', $sJSON);