title: XMPPFramework - How can I get a list of online and offline friends?
body: <p>How can I get a list of online and offline friends using XMPPFramework in iOS?</p>
  
  <p>I want to send buddy request to user. So how can I achieve this? Can somebody share some sample codes for me?</p>
  
  <p>Thank you.</p>