docs.rs failed to build tweetust-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
tweetust-0.10.0
Tweetust is the simple wrapper for Twitter API.
Getting started
This is a Twitter API wrapper, so you must lean Twitter API. Visit the official document.
After getting the API key, let's start using tweetust.
How to get the access token
See oauth::request_token function. After getting the access token, you can use to_authenticator function to make OAuthAuthenticator.
How to create OAuthAuthenticator with an access token string
The first tweeting
When you created OAuthAuthenticator and set to auth
variable, you can tweet in a minute.
// extern crate tweetust; or use tweetust;
let your_tweet =
tweetust::TwitterClient::new(auth)
.statuses()
.update("My First Tweet!")
.execute();
It's easy for people who have leaned about Twitter, isn't it?