https://github.com/ideoforms/python-twitter-examples
Examples of using Python for Twitter social data mining, using the python-twitter-tools framework.
https://github.com/ideoforms/python-twitter-examples
Last synced: about 1 year ago
JSON representation
Examples of using Python for Twitter social data mining, using the python-twitter-tools framework.
- Host: GitHub
- URL: https://github.com/ideoforms/python-twitter-examples
- Owner: ideoforms
- License: mit
- Created: 2011-11-30T16:00:38.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2022-11-18T10:15:54.000Z (over 3 years ago)
- Last Synced: 2023-10-20T20:18:53.169Z (over 2 years ago)
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 581
- Watchers: 66
- Forks: 349
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Python Twitter Examples
A set of Python scripts to demonstrate interactions with the Twitter API
via the [Python Twitter Tools](https://github.com/ideoforms/python-twitter-examples) module.
## Usage
These examples require Python 3. To install prerequisites:
pip install -r requirements.txt
You will need to authenticate with Twitter to use these scripts. To do
so, sign up for developer credentials:
[https://apps.twitter.com/](https://apps.twitter.com/)
You can create access credentials directly through Twitter's web
interface, authorized under the username you used to create the app.
If you want your application to act on behalf of other users (for example,
to post on behalf of several usernames), you'll need to authorize each
separately. To be guided through this process, run:
python twitter-authorize.py
Then add your consumer and access tokens to `config.py`.
## History
This collection was first developed for a 2012 laboratory in social data
mining for the MA/MSc Digital Sociology, Digital Journalism and Creating Social
Media courses at the Centre for Creative and Social Technology, Goldsmiths,
University of London.
Daniel Jones
http://www.erase.net
------------------------------------------------------------------------