I'm having the same issue as well, did anyone figure this out?
I have to be able to pull profiles by username instead of userid in order to work with our chat program.
Thank you very much for pointing me in the right direction. To avoid any confusion, however, what worked for me was just the &user='USER' without the %'s. Don't mean to bump an old topic but figured it may help others who were stuck such as myself.