我正在尝试使用此代码为我的网页吸引粉丝:
$fql_query_url = 'https://graph.facebook.com/'
. 'fql?q=SELECT object_id, metric, value, end_time
FROM insights
WHERE object_id = [139832966167942]
AND metric IN (\'page_fans\')
AND period = period(\'lifetime\')
AND end_time = end_time_date(\'2014-3-31\')'
. '&access_token=' . $access_token;
$fql_query_result = file_get_contents($fql_query_url);
$fql_query_obj = json_decode($fql_query_result, true);
但始终给出:警告:file_get_contents:无法打开流:HTTP请求失败! 我在哪里做错了?