Hi all, I want to extract date from the Facebook API, specifically link clicks from page posts: This query gives me the most recent 100 posts - https://graph.facebook.com/v2.5/<pageid>/posts?fields=insights.metric(post_consumptions_by_type_unique),link&limit=100 However, when I try to define a date range, I still only get the most recent posts - https://graph.facebook.com/v2.5/<pageid>/posts?fields=insights.metric(post_consumptions_by_type_unique),link&limit=100?since={date.addMonths(-2).startOfMonth.format()}&until={date.today} First - is it even possible to make such a query or is there a restriction on this type of query. Second - any suggestions as to how to extract this data, so I can make 7, 30, or longer day comparisons. best, John.
Yes actually you can. Instead of using "post" use the "message" handle after the userid. You should then add the handle _timecreated_. It will then let you scroll through a list of time created message events. Of course you would need an access token. Hope this works for you.