2016-10-25 12 views
1

を指定:FacebookのAPI 2.7 - いいえ、メトリックは、私はFacebookのAPIからデータを受信するための要求の下に使用されている

143357502355510/feed?fields=insights{name,title}&since=1474732800&until=1477324800&limit=100 

が、バージョン2.6の後に廃止されましたし、私はこのエラーが受信している2.7にSDKのバージョンを変更:

"error": { 
"message": "Invalid query", 
"type": "OAuthException", 
"code": 3001, 
"error_subcode": 1504028, 
"is_transient": false, 
"error_user_title": "No Metric Specified", 
"error_user_msg": "No metric was specified to be fetched. Please specify one or more metrics to be fetched and try again.", 
"fbtrace_id": "XXXXXXXXXXX" 
} 

とにかくリクエストを変更して以前と同じデータを取得できますか?

答えて

4

答えここで見つける:

check this post

と私はに私の要求を変更:

143357502355510/feed?fields=insights.metric(post_impressions_unique,post_impressions){values,title}&since=1474732800&until=1477324800&limit=100 
関連する問題