FBAdLibrarian

Rasmus Schmøkel, Michael Bossetta

Forskningsoutput: Icke-textbaserad outputMjukvara

Sammanfattning

The FBAdLibrarian is a simple, command line tool that archives images from unique hyperlinks offered by the Facebook Ad Library API.

At the time of writing, Facebook permits the downloading of individual ad creatives such as images for academic research purposes. The Librarian assists researchers with this process. Users must have verified their identity with Facebook, received the appropriate access tokens for the API, and use this tool only for academic research purposes.

The Librarian works as follows. First, the Librarian takes the ad_snapshot_url of an ad and creates a unique hyperlink, using the researcher's access tokens. Then, the Librarian looks up each ad individually. If the ad includes an image, the Librarian saves the image to an output folder and names the image according to the post’s unique ad identification number (or "adlib_id"). If the ad includes an embedded video, the Librarian will pass over the ad, but it will document the adlib_id as a video in an accompanying "metadata.txt" file.

Prerequisites

Python 3 (Currently tested on 3.7 but might work on other versions)
Verified access to Facebook Ad Library
Output data from Facebook Ad Library in xlsx format with semi-colon seperator (other formats and seperators are not supported as of now)
Originalspråkengelska
Utgivningsformatmjukvara
StatusPublished - 2021

Ämnesklassifikation (UKÄ)

  • Medievetenskap

Fingeravtryck

Utforska forskningsämnen för ”FBAdLibrarian”. Tillsammans bildar de ett unikt fingeravtryck.

Citera det här