Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

generate Twitter lists: all candidates, candidates per party from YNMP data #95

Open
mhl opened this issue Dec 6, 2014 · 6 comments
Open

Comments

@mhl
Copy link
Contributor

mhl commented Dec 6, 2014

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:

  • UK 2015 General Election Candidates from YourNextMP
  • Conservative Party Candidates from YourNextMP
  • Labour Party Candidates from YourNextMP

... etc.

@netclift
Copy link

Excellent idea. The more the lists expose people to varied candidates earlier in the process the more democratizing.

@symroe
Copy link
Collaborator

symroe commented Dec 30, 2014

The 2015 candidates list is here:

https://twitter.com/democlub/lists/candidates-2015

@mhl
Copy link
Contributor Author

mhl commented Jan 5, 2015

@symroe: nice, that's great! Where is the code for generating that list, just for reference?

@symroe
Copy link
Collaborator

symroe commented Jan 7, 2015

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?)

@mhl
Copy link
Contributor Author

mhl commented Jan 13, 2015

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.

@mhl
Copy link
Contributor Author

mhl commented Oct 13, 2015

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 #271 is done, though, because the script could be simpler.

@mhl mhl closed this as completed Oct 13, 2015
@mhl mhl removed the 1 - Contender label Oct 13, 2015
@mhl mhl reopened this Oct 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants