Using facebook javascript sdk to process fql query

后端 未结 3 620
刺人心
刺人心 2020-12-22 01:08

I have just put implemented Facebook connect on my web-site using the JavaScript SDK. Now I would like to process an fql query.

So I have two questions:

3条回答
  •  半阙折子戏
    2020-12-22 01:38

    Using method: 'fql.query' is part of the deprecated REST API.

    A better, future-proof way IMHO is to send your queries against the Graph API:

    FB.api("/fql?q={your urlencoded query}", callback() { … } );
    

提交回复
热议问题