From 42f65afe9f0d80af8cdb71cadfd005c9f3a2dc51 Mon Sep 17 00:00:00 2001 From: chenjunxue <1523825571@qq.com> Date: Tue, 23 Mar 2021 19:57:58 +0800 Subject: [PATCH] 5.2.6 1.更新发送小组动态相关接口|接口失效 2.更新采集帖子点赞,wow,评论列表接口|接口失效 3.更新部分校验参数。 --- conf/config.yaml | 4 ++-- lib/facebook.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/config.yaml b/conf/config.yaml index 8e608f8..7345332 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -5,5 +5,5 @@ SERVER: control: http://fbchat.xyz:39002/api/terminal mark: ntkj VERSION: - code: 525 - name: 5.2.5 \ No newline at end of file + code: 526 + name: 5.2.6 \ No newline at end of file diff --git a/lib/facebook.py b/lib/facebook.py index 80b28b1..7c391cf 100644 --- a/lib/facebook.py +++ b/lib/facebook.py @@ -1221,7 +1221,7 @@ class FacebookClient(Client): "filters": new_filters, "text": name}, "cursor": cursor, "feedbackSource": 23, "fetch_filters": True, "scale": 2, "stream_initial_count": 0} - res = self.graphql_api('SearchCometResultsInitialResultsQuery', '3854124781368776', variables) + res = self.graphql_api('SearchCometResultsInitialResultsQuery', '5439515456066311', variables) return self.f_res(res) def GraphSearchQueryFilter(self, city): @@ -2631,7 +2631,7 @@ class FacebookClient(Client): "filters": new_filters, "text": text}, "count": 5, "cursor": cursor, "feedbackSource": 23, "fetch_filters": True, "renderLocation": None, "scale": 2, "stream_initial_count": 0} - res = self.graphql_api('SearchCometResultsInitialResultsQuery', '3826204590776389', var) + res = self.graphql_api('SearchCometResultsInitialResultsQuery', '5439515456066311', var) items = [] for node in res['data']['serpResponse']['results']['edges']: view_model = node['relay_rendering_strategy']['view_model'] @@ -3514,7 +3514,7 @@ class FacebookClient(Client): "type": "POSTS_TAB"}, "filters": new_filters, "text": text}, "cursor": cursor, "feedbackSource": 23, "fetch_filters": True, "renderLocation": None, "scale": 2, "stream_initial_count": 0} - res = self.graphql_api('SearchCometResultsInitialResultsQuery', '3510505772405967', + res = self.graphql_api('SearchCometResultsInitialResultsQuery', '5439515456066311', variables) # data.serpResponse.results.edges.[0].relay_rendering_strategy.view_model.footer_model.feedback.id # data.serpResponse.results.edges.[0].relay_rendering_strategy.view_model.footer_model.feedback.i18n_reaction_count #like数 -- libgit2 0.24.0