According to the facebook api that is exactly how you do it. Except it says you should have quotes around your object_id.
The example says:
$facebook->api_client->fql_query('SELECT user_id FROM like WHERE object_id="122706168308"');
http://developers.facebook.com/docs/reference/fql/like