Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toilet base class #10

Closed
charlesreid1 opened this issue May 16, 2018 · 4 comments
Closed

Toilet base class #10

charlesreid1 opened this issue May 16, 2018 · 4 comments
Labels
|-| /-\ ( |< hack hack hack social social twitter functionality
Milestone

Comments

@charlesreid1
Copy link
Member

charlesreid1 commented May 16, 2018

A toilet is a small pool of tweets, containing possibly useful things.

To create a Toilet, pass it a Twitter API object, and a set of parameters (TBD).

This will then use the API object to find tweets matching hashtags/search terms/users/replies into a small pool that the Sheep can do things with.

When you're all done with the tweets, you flush your Toilet and get a fresh batch.

Used by SocialSheep (see #9).

@charlesreid1
Copy link
Member Author

standard search operators with twitter search api

couple of operators/ideas:

  • users
  • hashtags
  • search terms (either A or B, exactly A B, &c.)
  • filters!!!
    • safe filter
    • twimg filter
    • until: 2000-00-00
    • since: 2000-00-00

@charlesreid1
Copy link
Member Author

More useful methods:

The Toilet is surprisingly simple. What a relief. Ha ha, get it? Relief? Like... never mind.

@charlesreid1
Copy link
Member Author

Also done.

Just need to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
|-| /-\ ( |< hack hack hack social social twitter functionality
Projects
None yet
Development

No branches or pull requests

1 participant