implementing facebook search in application -


i need design search box in facebook desktop application, functionality same of facebook search.

if name 'sam' entered, users in name 'sam' comes should listed.
same output of sql query: select uid, name users name '%sam%'.

is there way implement this?

you hand, doing right can pretty big difficult task.

looking @ fb dev wiki though, came across this. looks use facebook typeahead widget whatever options want. can gather friendlist via friends.get or fql query, render xfbml fb typeahead widget.

it looks tag in beta , has open bug reports, it's worth give shot before going trouble of doing typeahead yourself.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -