Twitter API design

From Mass Pirate Wiki
Revision as of 00:14, 14 September 2015 by Jokeefe (talk | contribs) (Created page with "Managing our Twitter followers tends to be haphazard. (A) But the basic criteria for following people is: # They follow us and at least one of the following: ## They live ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Managing our Twitter followers tends to be haphazard.

(A) But the basic criteria for following people is:

  1. They follow us and at least one of the following:
    1. They live in the US
    2. They indicate that they are pirates
    3. The account is for a pirate party
    4. They have some minimum number of followers and have an icon that isn't a twitter default icon (ideally)

Additionally, tend to follow groups or people that seem related to us. (B) They are add to the news, localnews, localmedia, othermedia, privacy, etc. lists.

(C) Try to group those we follow into several lists:

  • people who live in Massachusetts
  • people who live in New England and not Massachusetts
  • people who live in the US and not New England
  • US pirate parties
  • pirate parties outside the US
  • Pirates outside the US

For now it would be good to have an app we can run periodically (cron job perhaps) that:

  • Looks over the people who follow us and follows them back if they meet the criteria listed in A
  • Sorts the people we follow into the list grouping criteria listed in C
  • Unfollows anyone who isn't following us but who isn't on a select set of lists B
  • Cleans up the lists in C and removes anyone who isn't following us.

Additionally, if there is a way to get contact info out of Twitter for our followers and into CiviCRM, that would be helpful as well.