Random Playing with scripts for Facebook API- MySQL