Source

comofas /

Filename Size Date modified Message
pynswers
simplejson
twitter
6 B
14.8 KB
689 B
6.4 KB
269 B
4.3 KB
819 B
1.5 KB
6.7 KB
2.4 KB
6.8 KB
Hi,

You, fellow developer, might want to do this:

1. Copy comofas_credentials_example.py to comofas_credentials.py, filling in the values you know will work.
2. Enter a KEYWORD value in comofas_settings.py
3. Then you may try to run comofas2.py and test.py

comofas2.py creates a Comofas class and its purpose is to provide an (proper/funny,weird) answer for all questions tagged by the word comofas posted as tweets in Twitter website.

For the bot to work, you need to leave it running somewhere. It fetches a feed from search.twitter.com periodically and tries to answer the questions.


Please visit:

http://www.pedrovalente.com

Have fun  using comofas in twitter.com

[]s
lhonda

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.