I have seen examples of fetching data using FQL with the help of PHP Facebook SDK , but is it possible to fire FQL query using Javascript or Jquery as i want to fetch online friend list in jquery mobile.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Facebook has an extensive JavaScript SDK, which will offer you what you need.
Once you have authenticated the client, you should use the
FB.api()method to launch an API request. In particular, you should be considering theonline_presenceof your users’ friends (in theusertable).For more info, see the StackOverflow question; How to get list of online friends using FQL with facebook API?