简体   繁体   English

如何获得Facebook页面按周喜欢用户数据

[英]how to get facebook page likes user data by week

I have create one page, i have get data of page like user. 我已经创建了一个页面,我已经获得了像用户一样的页面数据。 i have get result value only 3 by day but when i pass week and day_28 it's get result to me blank data , but in graph api show me pagination but i not need this , show all data one week . 我一天只得到3的结果值,但是当我通过week和day_28时,得到的结果是空白数据,但是在图api中显示了分页,但是我不需要,一周显示所有数据。 please can tell me what is problem how can i get this result by week. 请告诉我问题是什么,我怎么能在一周内得到这个结果。 this is my graph api 519285998271320/insights/page_fan_adds_unique/day 这是我的图形API 519285998271320 / insights / page_fan_adds_unique / day

   {
  "data": [
    {
      "name": "page_fan_adds_unique",
      "period": "day",
      "values": [
        {
          "value": 0,
          "end_time": "2016-07-24T07:00:00+0000"
        },
        {
          "value": 0,
          "end_time": "2016-07-25T07:00:00+0000"
        },
        {
          "value": 0,
          "end_time": "2016-07-26T07:00:00+0000"
        }
      ],
      "title": "Daily New Likes",
      "description": "Daily: The number of new people who have liked your Page (Unique Users)",
      "id": "519285998271320/insights/page_fan_adds_unique/day"
    }
  ],

Well you have to pass the value since and until in unixtime in this way. 那么,您必须以这种方式在unixtime中传递自直到该值。

519285998271320/insights?pretty=0&metric=page_fan_adds_unique&period=week&since=1493596800&until=1500534000

and the max period value is 3 months. 最长期限为3个月。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM