title: Requesting Facebook friends online presence through the Graph API
body: <p>I have used the Facebook's FQL API to query the user's all friends online_presence but this API has been deprecated and I can not figure out how to get this information by an other way. (As I understand the chat API is also deprecated so I can not use a xmpp client)
  There is a simple FQL query which I have used:</p>
  
  <pre><code>SELECT uid, online_presence FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=me()) ORDER BY name
  </code></pre>
  
  <p>I found the friends_online_presence permission on the list of removed permissions in the new 3.0 SDK.
  <a href="https://developers.facebook.com/docs/apps/changelog/" rel="nofollow">(more)</a></p>
  
  <p>Is there an other way to access this data using the new API?
  Thank you for any help.</p>
  
  <p>(I have more than 280k downloads and hundreds of subscriptions on my app which is based on this query. Please help.)</p>