Open mhl opened 9 years ago
Excellent idea. The more the lists expose people to varied candidates earlier in the process the more democratizing.
The 2015 candidates list is here:
@symroe: nice, that's great! Where is the code for generating that list, just for reference?
It's just on my computer for the time being, and I'm running it manually every day. I can turn it in to a django management command and shove it in the ynmp project if you like, but we'll need to store the API credentials somewhere (are they just edited on the server directly?)
Hi @symroe - we'd normally add a option like TWITTER_API_KEY
in general.yml-example
and in our deploy system set that to the value that needs to be kept secret. So that + a Django management command sounds great to me.
There's a PR for this from @symroe, which just needs a bit of work to make sure it removes corrected Twitter accounts (or candidates who have been marked as "not standing" or deleted, I think - haven't checked that yet).
This might be better updated after https://github.com/mysociety/yournextrepresentative/issues/271 is done, though, because the script could be simpler.
Emily suggested that people notice when they're added to Twitter lists, so it might generate interest in the YNMP effort if we generated some Twitter lists from our data, say for a start:
... etc.