https://github.com/uri/exstream_twitter
https://github.com/uri/exstream_twitter
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/uri/exstream_twitter
- Owner: uri
- Created: 2016-07-06T18:12:15.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T02:06:25.000Z (about 9 years ago)
- Last Synced: 2025-10-23T02:51:33.389Z (9 months ago)
- Language: Elixir
- Size: 25.4 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ExstreamTwitter
## Usage
1. Create a [twitter application](https://apps.twitter.com/)
1. Create a `dev.secret.exs` file in the `config/` folder. User `config/dev.secret.exs.example` as a reference.
1. Run with `iex -S mix`
1. Start the stream supervisor via `StreamSupervisor.start_link`
1. Use `Tweet.stream/0` to get an Elixir stream of tweet structs. Or use `Tweet.simple_stream` to get an elixir stream that only returns the text of a tweet.