|
...
|
...
|
@@ -3569,9 +3569,9 @@ class FacebookClient(Client): |
|
|
|
pass
|
|
|
|
cache.set(key=key, value=id)
|
|
|
|
# id = base64.b64encode(f'feedback:{id}'.encode('utf-8')).decode('utf-8')
|
|
|
|
variables = {"count": 30, "cursor": cursor, "feedbackTargetID": id, "reactionType": reactionType, "scale": 2,
|
|
|
|
variables = {"count": 10, "cursor": cursor, "feedbackTargetID": id, "reactionType": reactionType, "scale": 2,
|
|
|
|
"id": id}
|
|
|
|
res = self.graphql_api('CometUFIReactionsDialogTabContentRefetchQuery', '3528946720499433',
|
|
|
|
res = self.graphql_api('CometUFIReactionsDialogTabContentRefetchQuery', '3809394989181095',
|
|
|
|
variables)
|
|
|
|
if details and res['data']['node']['reactors']['edges'] and 'errors' not in res:
|
|
|
|
ids = [key['node']['id'] for key in res['data']['node']['reactors']['edges'] if
|
|
...
|
...
|
@@ -3735,11 +3735,11 @@ class FacebookClient(Client): |
|
|
|
"""小组讨论点赞取消点赞"""
|
|
|
|
variables = {"input": {"feedback_id": feedback_id, "feedback_reaction": feedback_reaction,
|
|
|
|
"feedback_source": feedback_source,
|
|
|
|
"feedback_referrer": "/groups/2003600059936830/hashtags",
|
|
|
|
# "feedback_referrer": "/groups/2003600059936830/hashtags",
|
|
|
|
"is_tracking_encrypted": True, "tracking": [encrypted_tracking],
|
|
|
|
"session_id": str(uuid.uuid1()), "actor_id": self.uid,
|
|
|
|
"client_mutation_id": self.get_client_mutation_id()}, "useDefaultActor": False}
|
|
|
|
res = self.graphql_api('CometUFIFeedbackReactMutation', '4136721883019636', variables)
|
|
|
|
res = self.graphql_api('CometUFIFeedbackReactMutation', '3852462771486439', variables)
|
|
|
|
return self.f_res(res)
|
|
|
|
|
|
|
|
def CometUFICreateCommentMutation(self, feedback_id: str, encrypted_tracking: str, text: str):
|
|
...
|
...
|
@@ -4218,7 +4218,7 @@ class FacebookClient(Client): |
|
|
|
'server_timestamps': True,
|
|
|
|
'doc_id': doc_id,
|
|
|
|
'dpr': 2,
|
|
|
|
# 'fb_api_analytics_tags': ['qpl_active_flow_ids=30605361'],
|
|
|
|
'fb_api_analytics_tags': ['qpl_active_flow_ids=431626709'],
|
|
|
|
'__csr': 'gacan6hcr2spifn2fiuD6insIOkj9uPiRl9YYRR7jsDYPXIINabmnbFlKJKAyu_ahsCVHHbSA_kADFsx2d4FiKWGmFKBKDKWhrlaHFaiAmWXThqKrHy9i6Vi4CKWXh27wwCALBVbdluB-8JUyhfiK8hUCaHghJBxnzoBehaF8F6BzbLDiDGeuexlGQiVr-tabADAGUShy8gGq2CAuil4Z1ycxyCidK1aydoLgy9y_zpUS266AWKibhXVFEqp8C44UkxmqdG9K8QczUtgFpp8-i8xulVESGgde2Dx2V8CUjhQi68N1S5Au4Gwh9oN1-3uEkxqUK2K2C68jxmq6UK4U1mK09Gg05xa16w1Tdw7izU2Og9zwDG7EJU6e3u0f_g3uw8W1zwSyt1yfwOzoK2uF8oxpa8P3d0NwhErxRwXw4AAx98BF0j8eo2ywsEWdDg45wmET81bBw1lxw2lo0jSw',
|
|
|
|
'__dyn': '7AzHxqU5a5Q2m3m8GEnxenFw9uu2i5U4e1NyUJ3odEc88EW0CEboG4E6icwJwpUe8hw2nVEtwMw65xOfwwwto88427Uy11xmfz83WwgEcHzoaEaoG0Boy1PwBgK7qxS18wc61axe3e9xy48aU8od8-UqwsUkxe2GewGwkUtxGm2SUnxq5olwUwHxm4-5pUfEdbws9o8oy5oO2-3a0BFo-'
|
|
|
|
}
|
...
|
...
|
|