![]() |
|
[Java] [Tutorial] Twitter + Java - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Java] [Tutorial] Twitter + Java (/showthread.php?tid=5964795) |
[Tutorial] Twitter + Java - Nemo2478 - Apr 28, 2019 Hi all, Twitter4J is a Java library to interact with the Twitter API. With Twitter4J, you can integrate your Java application with Twitter services. If you have some knowledge of Java, implementing this library is quite simple; just add the jar to the Classpath environment variable of your Java Virtual Machine. In this tutorial we will learn the basics about this API. Features: • Works on any Java platform version 1.4.2 or later. • Works on the Android platform (as of version 2.1.0). • Supports OAuth authentication. Tweet from Java To Tweet from Java we will use the following code: Code import java.util.List;Get your current status Code import java.util.List;Regards PS.: I would like that you add my post to the post where the Java source codes are located. |