search users issue
Hi Dave,
I am a big fan of fb module and have completely integrated it into my community website. There is one major challenge that I am facing with searching users. Since there are many users who log into the application with their facebook credentials, their user name in the drupal database stores in NNNNN@facebook pattern. So when some member tries to search for users he can never find them with their facebook names which arrive from theme('username',..) function. Most of the times they end up getting nnnn@facebook type of records and are never able to find other facebook users in the application.
Is there some workaround to troubleshoot this issue??
Is there a way in which the query parameter is subjected to some reverse theme('username,...) function so that the nnn@facebook type of name can be procured from the search parameter and result set be fetched based on nnn@facebook.
Is there any other way or approach that can be adopted to query correct usernames.
Thanks for giving us such a great module.
fb rocks.
- Forums:

This has been a big PIA. See
This has been a big PIA. See http://drupal.org/node/626998 for some background.
I'd love to see a snippet of code that adds facebook names to the user search index. Something like that could be added to either fb_example.module or fb_user.module. Not sure when I'll have time to write that myself.