New exmaple shows how to request vCard and handle result. See XEP-0054 for details. PHOTO element is stored to an image file.
Build Instructions
Compile example files with the following gcc flags:
gcc -o bot bot.c `pkg-config --cflags --libs libstrophe`