Use o
IN
do SQL operador em vez disso:select distinct(username) from users where fb_uid in (value1, value2, ...)
http://www.w3schools.com/SQl/sql_in.asp
IN
do SQL operador em vez disso:select distinct(username) from users where fb_uid in (value1, value2, ...)