如何使用Facebook';使用图形API的FQL查询?
有没有办法使用当前的graph API使用Facebook的FQL查询?或者我们仍然必须使用遗留API 图形API和JavaScript示例:如何使用Facebook';使用图形API的FQL查询?,facebook,facebook-fql,Facebook,Facebook Fql,有没有办法使用当前的graph API使用Facebook的FQL查询?或者我们仍然必须使用遗留API 图形API和JavaScript示例: FB.api( { method: 'fql.query', query: 'SELECT uid, first_name, last_name FROM user WHERE uid = ' + someUid }, function(data) { // do something with the response
FB.api(
{
method: 'fql.query',
query: 'SELECT uid, first_name, last_name FROM user WHERE uid = ' + someUid
},
function(data) {
// do something with the response
}
);
$data = $facebook->api( array( 'method' => 'fql.query', 'query' => 'SELECT shit FROM table...' ) );
FB.api(
{
method: 'fql.query',
query: 'SELECT uid, first_name, last_name FROM user WHERE uid = ' + someUid
},
function(data) {
// do something with the response
}
);
$data = $facebook->api( array( 'method' => 'fql.query', 'query' => 'SELECT shit FROM table...' ) );
图形API和JavaScript示例:
FB.api(
{
method: 'fql.query',
query: 'SELECT uid, first_name, last_name FROM user WHERE uid = ' + someUid
},
function(data) {
// do something with the response
}
);
$data = $facebook->api( array( 'method' => 'fql.query', 'query' => 'SELECT shit FROM table...' ) );
FB.api(
{
method: 'fql.query',
query: 'SELECT uid, first_name, last_name FROM user WHERE uid = ' + someUid
},
function(data) {
// do something with the response
}
);
$data = $facebook->api( array( 'method' => 'fql.query', 'query' => 'SELECT shit FROM table...' ) );