How can I use or send data with PEPsub

Hi, I was wondering how can I get my friend’s profile pictures in smack. I already made an app which you can chat with other contacts in the server though i wanted to add a feature that people can set their profile pictures so my friends can see it or i can see my others friend’s profile picture. I don’t know how to do it.

WIth VCard is to access to my own VCard and other people cannot access to it and vice-verse. I read some articles that is possible using PEPsub, so people store data like profile picture and status description over there so subscribers can have access to it. The thing is How can I send data to Pubsub and request that data. can someone give me any hint or an example please? I Would appreciate any help, Thanks.