→ كل المشاريع

twittered

بواسطة @redouane59

257

Twitter API client for Java developers

عن هذا المشروع

This project is a JAVA library which allows you to consume the Twitter API. Configuration In your pom.xml, add the following dependency and replace VERSION with the version you wish: If you are using Gradle Kotlin DSL, make sure you have MavenCentral among the available repositories: Then add the following line to your dependencies block: To be able to see library logs, also add sl4j references : In order to use your own developer credentials, you have several options : Using a json file File example : With program argument Pass through java argument your file path like -Dtwitter.credentials.file.path=/your/path/to/json . Then instantiate the client like or Using deserialization in your code With hard-coded values NB : Your twitter credentials can be found in your twitter app page in the Key and tokens page. Available methods See : ITwitterClientV2.java ITwitterClientV1.java Tweet.java User.java Code samples See : ITwitterClientV2Test.java ITwitterClientV2AuthenticatedTest.java ITwitterClientV1Test.java Basic examples Init TwitterClient Get Tweet object from tweet id and display some information Get User object from username and display some information Contribution

من ملف README الخاص بالمشروع على GitHub

النجوم
257
التفريعات
66
الرخصة
Apache-2.0
آخر تحديث
31/07/2024

أضف هذه الشارة إلى ملف README

أظهر أن مشروعك مُدرج على «صُنع في الجزائر».

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/twittered.svg)](https://www.madeinalgeria.dev/projects/twittered)

مشاريع ذات صلة