# Example: not a working script def like_post(post_url, cookie): headers = { 'Cookie': cookie, # Other necessary headers } response = requests.post(f"{post_url}/like", headers=headers) if response.status_code == 200: print("Post liked") else: print("Failed to like post")