[Python] How to reliably detect and extract "Top performer" labels on Meta Business Manager

Discussão em 'Python' iniciado por Stack, Julho 7, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to automate the process of identifying the "Top performer" Reel in the Meta Business Suite (Business Manager), under the published_posts view

    https://business.facebook.com/latest/posts/published_posts?asset_id=...&business_id=...

    Visually, Meta marks certain Reels with a green "Top performer" badge and the text: "This reel's interactions are in the top 25% compared to your other recent Facebook reels" Here’s what I’ve tried so far:

    Scrolling the page up to 30 times with mouse.wheel(0, 3000) Querying all potential ard containers Dumping inner_text() from each card to a debug file (none contains the target text) Verified manually that the text is visibly present in the UI — but Playwright doesn’t seem to see it

    If you have any idea, i'll be grateful

    Continue reading...

Compartilhe esta Página