Twitter Kit is a multi-module gradle project containing several Twitter SDKs including TweetComposer, TwitterCore, and TweetUi. Twitter Kit is designed to make interacting with Twitter seamless and efficient.
- Display Tweets and timelines
- Compose Tweets
- Monetize with MoPub integration
- Log in with Twitter
- Access the Twitter API
- Generate your Twitter API keys through the Twitter developer apps dashboard.
- Install Twitter Kit using instructions below.
- For extensive documentation, please see the wiki.
Add twitter dependency to your build.gradle:
repositories {
jcenter()
}
dependencies {
compile('com.twitter.sdk.android:twitter:3.2.0@aar') {
transitive = true
}
}
Rename samples/app/twitter.properties.sample to samples/app/twitter.properties and populate the consumer key and secret.
To build the entire project run
./gradlew assemble
Run all automated tests on device to verify.
./gradlew test connectedCheck
To run the sample app
./gradlew :samples:app:installDebug
The master branch of this repository contains the latest stable release of Twitter Kit. See CONTRIBUTING.md for more details about how to contribute.
This, and all github.com/twitter projects, are under the Twitter Open Source Code of Conduct. Additionally, see the Typelevel Code of Conduct for specific examples of harassing behavior that are not tolerated.
For usage questions post on Twitter Community.
Please report any bugs as issues.
Follow @TwitterDev on Twitter for updates.
Copyright 2017 Twitter, Inc.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0