From 9a426f55b84a2720be2c17b65ec514c7e7c76f44 Mon Sep 17 00:00:00 2001 From: chenjunxue <1523825571@qq.com> Date: Fri, 21 Aug 2020 15:19:28 +0800 Subject: [PATCH] 2.1.8 mutliQuery接口增加故乡 城市等信息 修复mutliQuery接口出错 --- conf/config.yaml | 4 ++-- lib/facebook.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/config.yaml b/conf/config.yaml index 6e6294a..a502e7e 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -4,5 +4,5 @@ SERVER: reconnect_interval: 3 VERSION: - code: 107 - name: 2.1.7 \ No newline at end of file + code: 108 + name: 2.1.8 \ No newline at end of file diff --git a/lib/facebook.py b/lib/facebook.py index b8dd4fe..c294a5d 100644 --- a/lib/facebook.py +++ b/lib/facebook.py @@ -2030,7 +2030,7 @@ class FacebookClient(Client): if isinstance(include_fields, list) and include_fields: ext_field = "," + ','.join(include_fields) - sql_tmpl = 'SELECT uid,name,friend_count,sex,state,city,current_location,locale,online_presence,birthday_date' + ext_field + ' FROM user WHERE uid = {}' + sql_tmpl = 'SELECT uid,name,friend_count,sex,city,current_location,locale,online_presence,birthday_date' + ext_field + ' FROM user WHERE uid = {}' fql_queries = dict() if isinstance(ids, str): ids = [ids] -- libgit2 0.24.0