facebookresearch / facebookresearch/Ad-Library-API-Script-Repository

Further extract or download ad creative such as images and text for an individual ad

Aperta
#48 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
337
Fork
130
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The result of the API query is somewhat very abstract, and it seems the _ad_snapshot_url_ is temporary link.
I tries to make a query of an individual ad but I have got the error below. Anyone who might have an idea about the root cause?
I have both **pages_read_engagement permission** and **pages_read_user_content permission** added before making the call.

Error :
_{
    "error": {
        "message": "(#10) This endpoint requires the 'pages_read_engagement' permission or the 'Page Public Content Access' feature or the 'Page Public Metadata Access' feature. Refer to https://developers.facebook.com/docs/apps/review/login-permissions#manage-pages, https://developers.facebook.com/docs/apps/review/feature#reference-PAGES_ACCESS and https://developers.facebook.com/docs/apps/review/feature#page-public-metadata-access for details.",
        "type": "OAuthException",
        "code": 10,
        "fbtrace_id": "Ay1JovtZ_DRs3e1SX3rksWA"
    }
}_
![troubleshoot ad content](https://github.com/facebookresearch/Ad-Library-API-Script-Repository/assets/29916204/52eabbf0-ddec-4d58-87dd-699e0171dbd3)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.