This is basic lobbying work. They used publicly available data (like Twitter posts or news articles) to annotate an excel file of public figures with mentions such as "Potentially an ally" or "Detractor".
Edit:
> Le Monde reported that the list was "problematic" under French law which prohibits the construction of a database "revealing the political and philosophical opinions of a person without their consent".