From e8a3cb08b8e5f756b33e0dd6dadc92ff6a202a88 Mon Sep 17 00:00:00 2001 From: chenjunxue <1523825571@qq.com> Date: Tue, 23 Mar 2021 17:49:10 +0800 Subject: [PATCH] 5.2.4 1.修复发送小组动态相关接口 --- 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 529dcea..33c0b77 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: 523 - name: 5.2.3 \ No newline at end of file + code: 524 + name: 5.2.4 \ No newline at end of file diff --git a/lib/facebook.py b/lib/facebook.py index 9e77834..96ab2fd 100644 --- a/lib/facebook.py +++ b/lib/facebook.py @@ -2688,7 +2688,7 @@ class FacebookClient(Client): "displayCommentsFeedbackContext": None, "displayCommentsContextEnableComment": None, "displayCommentsContextIsAdPreview": None, "displayCommentsContextIsAggregatedShare": None, "displayCommentsContextIsStorySet": None, "feedLocation": "GROUP", "feedbackSource": 0, - "focusCommentID": None, "gridMediaWidth": None, "scale": 1, + "focusCommentID": None, "gridMediaWidth": None, "scale": 2, "privacySelectorRenderLocation": "COMET_STREAM", "renderLocation": "group", "useDefaultActor": False, "isFeed": False, "isFundraiser": False, "isFunFactPost": False, "isGroup": True, "isTimeline": False, "isLivingRoom": False, "isSocialLearning": False, "isPageNewsFeed": False, @@ -2697,7 +2697,7 @@ class FacebookClient(Client): var['input'].pop('with_tags_ids', None) if not text_format_preset_id: var['input'].pop('text_format_preset_id', None) - res = self.graphql_api('ComposerStoryCreateMutation', '3613725498717497', var) + res = self.graphql_api('ComposerStoryCreateMutation', '4390106454349218', var) return self.f_res(res) def NEWSFEEDComposerStoryCreateMutation(self, text: str = '', text_format_preset_id: str = '', @@ -2741,7 +2741,7 @@ class FacebookClient(Client): var['input'].pop('with_tags_ids', None) if not text_format_preset_id: var['input'].pop('text_format_preset_id', None) - res = self.graphql_api('ComposerStoryCreateMutation', '3613725498717497', var) + res = self.graphql_api('ComposerStoryCreateMutation', '4390106454349218', var) return self.f_res(res) def primaryLocation(self): -- libgit2 0.24.0