Skip to content

KTweet is a Kotlin Library that allows you to consume the Twitter API v2.


Notifications You must be signed in to change notification settings


Repository files navigation

Gradle Build Gradle Tests KTweet on Maven

KTweet - A Kotlin X/Twitter Library

KTweet is a library that allows you to use the X/Twitter API v2 using OAuth2.0.

Interested in Kotlin or KTweet? Join the Discord


  1. Obtain the API keys from your X/Twitter Developer portal. Follow this guide.
  2. Save them locally and add them to your environment variables.
  3. Run ManageTweetsTest.kt to validate no issues.


All contribution to the library is welcomed. Ensure any request follows the following:


Copyright 2021 Thomas P. Carney

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.