This little API allows you to send tweets from your server! You simply have to register your Twitter application, then fill the config, then you can /tweet ! You can also send tweets with your plugin by using this method:
TwitterAPI.instance().tweet("Hey! This message was sent by my TwitterAPI. Please check out on https://www.spigotmc.org/resources/twitterapi.24947 !");
... And see : https://twitter.com/galaxyoyo/status/743075774987677696
DMs are also available via the /dm command, or by the following code:
TwitterAPI.instance().dm("myFriend", "Hey! This dm was sent by the SpigotAPI of galaxyoyo! Please check out!");
If you're needing some more methods, please leave a review :)
Source code: See on Github
Maven repo: http://arathia.fr/maven/
How to add dependency:
Maven:
<repositories>
...
<repository>
<id>galaxyoyo-repo</id>
<url>http://arathia.fr/maven/</url>
</repository>
</repositories>
<dependencies>
...
<dependency>
<group>fr.galaxyoyo.spigot</group>
<artifactId>twitterapi</artifactId>
<version>1.1.2</version>
</dependency>
</dependencies>
Gradle:
repositories {
...
maven {
url 'http://arathia.fr/maven/'
}
}
dependencies {
...
compile 'fr.galaxyoyo.spigot:twitterapi:1.1.2'
}
If you like it, please make a donation :)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta
