Sueta
TW

TwitterAPI

1.1.2

Send tweets from your server!

·Plugin

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 →