From eb1b739be059f7f963317418ebe3ced958cfea92 Mon Sep 17 00:00:00 2001 From: suyoun Date: Wed, 30 May 2018 12:16:24 +0900 Subject: [PATCH] =?UTF-8?q?facebook=20graph=20version=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- insight/context.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/insight/context.py b/insight/context.py index b5dd437..5ed7d74 100644 --- a/insight/context.py +++ b/insight/context.py @@ -71,7 +71,8 @@ class Context() : return_val = [] for list in self.orderlist: time.sleep(1) - url = 'https://graph.facebook.com/v2.5/%d/feed?'%list + url = 'https://graph.facebook.com/v2.6/%d/feed?'%list + print url + self.token txt = requests.get(url + self.token).text data = json.loads(txt) return_val.append(data) -- 1.8.5.2