正在显示
2 个修改的文件
包含
7 行增加
和
7 行删除
| @@ -3569,9 +3569,9 @@ class FacebookClient(Client): | @@ -3569,9 +3569,9 @@ class FacebookClient(Client): | ||
| 3569 | pass | 3569 | pass |
| 3570 | cache.set(key=key, value=id) | 3570 | cache.set(key=key, value=id) |
| 3571 | # id = base64.b64encode(f'feedback:{id}'.encode('utf-8')).decode('utf-8') | 3571 | # id = base64.b64encode(f'feedback:{id}'.encode('utf-8')).decode('utf-8') |
| 3572 | - variables = {"count": 30, "cursor": cursor, "feedbackTargetID": id, "reactionType": reactionType, "scale": 2, | 3572 | + variables = {"count": 10, "cursor": cursor, "feedbackTargetID": id, "reactionType": reactionType, "scale": 2, |
| 3573 | "id": id} | 3573 | "id": id} |
| 3574 | - res = self.graphql_api('CometUFIReactionsDialogTabContentRefetchQuery', '3528946720499433', | 3574 | + res = self.graphql_api('CometUFIReactionsDialogTabContentRefetchQuery', '3809394989181095', |
| 3575 | variables) | 3575 | variables) |
| 3576 | if details and res['data']['node']['reactors']['edges'] and 'errors' not in res: | 3576 | if details and res['data']['node']['reactors']['edges'] and 'errors' not in res: |
| 3577 | ids = [key['node']['id'] for key in res['data']['node']['reactors']['edges'] if | 3577 | ids = [key['node']['id'] for key in res['data']['node']['reactors']['edges'] if |
| @@ -3735,11 +3735,11 @@ class FacebookClient(Client): | @@ -3735,11 +3735,11 @@ class FacebookClient(Client): | ||
| 3735 | """小组讨论点赞取消点赞""" | 3735 | """小组讨论点赞取消点赞""" |
| 3736 | variables = {"input": {"feedback_id": feedback_id, "feedback_reaction": feedback_reaction, | 3736 | variables = {"input": {"feedback_id": feedback_id, "feedback_reaction": feedback_reaction, |
| 3737 | "feedback_source": feedback_source, | 3737 | "feedback_source": feedback_source, |
| 3738 | - "feedback_referrer": "/groups/2003600059936830/hashtags", | 3738 | + # "feedback_referrer": "/groups/2003600059936830/hashtags", |
| 3739 | "is_tracking_encrypted": True, "tracking": [encrypted_tracking], | 3739 | "is_tracking_encrypted": True, "tracking": [encrypted_tracking], |
| 3740 | "session_id": str(uuid.uuid1()), "actor_id": self.uid, | 3740 | "session_id": str(uuid.uuid1()), "actor_id": self.uid, |
| 3741 | "client_mutation_id": self.get_client_mutation_id()}, "useDefaultActor": False} | 3741 | "client_mutation_id": self.get_client_mutation_id()}, "useDefaultActor": False} |
| 3742 | - res = self.graphql_api('CometUFIFeedbackReactMutation', '4136721883019636', variables) | 3742 | + res = self.graphql_api('CometUFIFeedbackReactMutation', '3852462771486439', variables) |
| 3743 | return self.f_res(res) | 3743 | return self.f_res(res) |
| 3744 | 3744 | ||
| 3745 | def CometUFICreateCommentMutation(self, feedback_id: str, encrypted_tracking: str, text: str): | 3745 | def CometUFICreateCommentMutation(self, feedback_id: str, encrypted_tracking: str, text: str): |
| @@ -4218,7 +4218,7 @@ class FacebookClient(Client): | @@ -4218,7 +4218,7 @@ class FacebookClient(Client): | ||
| 4218 | 'server_timestamps': True, | 4218 | 'server_timestamps': True, |
| 4219 | 'doc_id': doc_id, | 4219 | 'doc_id': doc_id, |
| 4220 | 'dpr': 2, | 4220 | 'dpr': 2, |
| 4221 | - # 'fb_api_analytics_tags': ['qpl_active_flow_ids=30605361'], | 4221 | + 'fb_api_analytics_tags': ['qpl_active_flow_ids=431626709'], |
| 4222 | '__csr': 'gacan6hcr2spifn2fiuD6insIOkj9uPiRl9YYRR7jsDYPXIINabmnbFlKJKAyu_ahsCVHHbSA_kADFsx2d4FiKWGmFKBKDKWhrlaHFaiAmWXThqKrHy9i6Vi4CKWXh27wwCALBVbdluB-8JUyhfiK8hUCaHghJBxnzoBehaF8F6BzbLDiDGeuexlGQiVr-tabADAGUShy8gGq2CAuil4Z1ycxyCidK1aydoLgy9y_zpUS266AWKibhXVFEqp8C44UkxmqdG9K8QczUtgFpp8-i8xulVESGgde2Dx2V8CUjhQi68N1S5Au4Gwh9oN1-3uEkxqUK2K2C68jxmq6UK4U1mK09Gg05xa16w1Tdw7izU2Og9zwDG7EJU6e3u0f_g3uw8W1zwSyt1yfwOzoK2uF8oxpa8P3d0NwhErxRwXw4AAx98BF0j8eo2ywsEWdDg45wmET81bBw1lxw2lo0jSw', | 4222 | '__csr': 'gacan6hcr2spifn2fiuD6insIOkj9uPiRl9YYRR7jsDYPXIINabmnbFlKJKAyu_ahsCVHHbSA_kADFsx2d4FiKWGmFKBKDKWhrlaHFaiAmWXThqKrHy9i6Vi4CKWXh27wwCALBVbdluB-8JUyhfiK8hUCaHghJBxnzoBehaF8F6BzbLDiDGeuexlGQiVr-tabADAGUShy8gGq2CAuil4Z1ycxyCidK1aydoLgy9y_zpUS266AWKibhXVFEqp8C44UkxmqdG9K8QczUtgFpp8-i8xulVESGgde2Dx2V8CUjhQi68N1S5Au4Gwh9oN1-3uEkxqUK2K2C68jxmq6UK4U1mK09Gg05xa16w1Tdw7izU2Og9zwDG7EJU6e3u0f_g3uw8W1zwSyt1yfwOzoK2uF8oxpa8P3d0NwhErxRwXw4AAx98BF0j8eo2ywsEWdDg45wmET81bBw1lxw2lo0jSw', |
| 4223 | '__dyn': '7AzHxqU5a5Q2m3m8GEnxenFw9uu2i5U4e1NyUJ3odEc88EW0CEboG4E6icwJwpUe8hw2nVEtwMw65xOfwwwto88427Uy11xmfz83WwgEcHzoaEaoG0Boy1PwBgK7qxS18wc61axe3e9xy48aU8od8-UqwsUkxe2GewGwkUtxGm2SUnxq5olwUwHxm4-5pUfEdbws9o8oy5oO2-3a0BFo-' | 4223 | '__dyn': '7AzHxqU5a5Q2m3m8GEnxenFw9uu2i5U4e1NyUJ3odEc88EW0CEboG4E6icwJwpUe8hw2nVEtwMw65xOfwwwto88427Uy11xmfz83WwgEcHzoaEaoG0Boy1PwBgK7qxS18wc61axe3e9xy48aU8od8-UqwsUkxe2GewGwkUtxGm2SUnxq5olwUwHxm4-5pUfEdbws9o8oy5oO2-3a0BFo-' |
| 4224 | } | 4224 | } |
-
请 注册 或 登录 后发表评论