>> 1. load the avatar of user in facebook to create the CCSprite
>> avatar ~~> CCImage~~> CCTexture -> CCSprite
Why do we need to follow this sequence? Can we directly use:
CCSprite sprite1 = CCSprite::spriteWithFile(absolute_filename);
Can you explain a little bit more about this flow. Thanks
For the avatar, sometime it return jpg and sometime png (no avatar defined). How can we determine the file format after reading from curl?