Commit eb1b739be059f7f963317418ebe3ced958cfea92

Authored by suyoun ago
1 parent 2663a7c056
Exists in master

facebook graph version 변경

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

insight/context.py View file @ eb1b739
... ... @@ -71,7 +71,8 @@
71 71 return_val = []
72 72 for list in self.orderlist:
73 73 time.sleep(1)
74   - url = 'https://graph.facebook.com/v2.5/%d/feed?'%list
  74 + url = 'https://graph.facebook.com/v2.6/%d/feed?'%list
  75 + print url + self.token
75 76 txt = requests.get(url + self.token).text
76 77 data = json.loads(txt)
77 78 return_val.append(data)