graph-api-explorer

Use time range in Ad Insights of Facebook Marketing API

╄→尐↘猪︶ㄣ 提交于 2019-12-06 00:33:54
问题 I'm trying to obtain impressions of my ads between two dates I'm using Graph API Explorer with this path: act_0123456789/ads?fields=insights{ad_id,ad_name,impressions} I want to use 'time_range' attribute that we can find it in Marketing API reference but I don't know the syntax. Anyone can help me? 回答1: I can't comment on the approach you're using as I have not used it myself. However, here is an alternative approach which I have used with success: https://graph.facebook.com/v2.5/act_xyz

How can I get tagged_places of my friends?

只愿长相守 提交于 2019-12-05 02:27:21
问题 When I submit a get on Graph API Explorer, like that: me?fields=tagged_places Works good and return the data of my 'tagged places' to me. But when I try to get 'tagged places' of my friends, I got this error message: "error": { "message": "(#100) Unknown fields: tagged_places.", "type": "OAuthException", "code": 100 I want to know if is not possible to get 'tagged_places' of my friends or Im doing something wrong. 回答1: You need to have the permission of the item you were tagged in. Take a

Use time range in Ad Insights of Facebook Marketing API

蓝咒 提交于 2019-12-04 05:22:31
I'm trying to obtain impressions of my ads between two dates I'm using Graph API Explorer with this path: act_0123456789/ads?fields=insights{ad_id,ad_name,impressions} I want to use 'time_range' attribute that we can find it in Marketing API reference but I don't know the syntax. Anyone can help me? Al Ducent I can't comment on the approach you're using as I have not used it myself. However, here is an alternative approach which I have used with success: https://graph.facebook.com/v2.5/act_xyz/insights?level=<yourLevel>&fields=ad_id,ad_name,impressions&time_range[since]=2016-02-15&time_range

How can I get tagged_places of my friends?

假装没事ソ 提交于 2019-12-03 20:46:13
When I submit a get on Graph API Explorer, like that: me?fields=tagged_places Works good and return the data of my 'tagged places' to me. But when I try to get 'tagged places' of my friends, I got this error message: "error": { "message": "(#100) Unknown fields: tagged_places.", "type": "OAuthException", "code": 100 I want to know if is not possible to get 'tagged_places' of my friends or Im doing something wrong. hellzera You need to have the permission of the item you were tagged in. Take a look at this answer . Kindly note that the field 'tagged_places' is only accessible on the User object