egg-mode
egg-mode copied to clipboard
a twitter api crate for rust
This uses `tower-http` crate's [`Decompression`] middleware, which adds `Accept-Encoding`s to the requests and transparently decodes the response bodies. It should significantly reduce network traffic. The REST API supports the efficient...
Last week Twitter announced the [version 2 of their public API](https://blog.twitter.com/developer/en_us/topics/tools/2020/introducing_new_twitter_api.html), which looks like a promotion of some of their "Labs" endpoints, plus some reimaginings of their API structure in...
Hi friends, I‘m try this crate and I can post a text tweet success. But when I use [examples/create_tweet.rs](https://github.com/egg-mode-rs/egg-mode/blob/master/examples/create_tweet.rs) file to post a image jpg file, I always failed. how...
Sometimes my program falls into an "endless wait" mode when the computer sleeps right when a request to twitter is made. According to hyper docs, no timeout is configured by...
I'm using the example here: https://github.com/egg-mode-rs/egg-mode/blob/master/examples/stream_filter.rs Just that I'm entering my token differently in the start function. The same token works fine when fetching tweets using egg_mode::tweet::user_timeline. But when fetching...
The crate is unmaintained and currently carries two security vulnerabilities: - [RUSTSEC-2020-0159](https://rustsec.org/advisories/RUSTSEC-2020-0159) - [RUSTSEC-2020-0071](https://rustsec.org/advisories/RUSTSEC-2020-0071) Having skimmed the code, it should be easy to replace `chrono::DateTime` with e.g. `time::OffsetDateTime`. There might...
I'm trying to use egg-mode in a network that requires me to use a proxy server for all traffic going out to the public internet. I can't seem to find...
It seems `account/profile_banner` doesn't exist...
I think the documentation for accessing list timelines could be expanded on. I _think_ that `let list_timeline = egg_mode::list::statuses(SOME_LIST_ID, false, &token).with_page_size(10);` is the list version of this from the [home...
I was kicking around some code with a friend last night and we were running into a couple of different errors while using your library. Here's the relevant fragment of...