https://github.com/sivaprasadreddy/twitter4j-spring-boot-starter
SpringBoot Starter for Twitter4J
https://github.com/sivaprasadreddy/twitter4j-spring-boot-starter
Last synced: 8 months ago
JSON representation
SpringBoot Starter for Twitter4J
- Host: GitHub
- URL: https://github.com/sivaprasadreddy/twitter4j-spring-boot-starter
- Owner: sivaprasadreddy
- Created: 2016-02-15T01:03:28.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T15:48:01.000Z (8 months ago)
- Last Synced: 2025-04-12T06:06:50.543Z (8 months ago)
- Language: Java
- Size: 86.9 KB
- Stars: 12
- Watchers: 1
- Forks: 15
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-spring-boot - twitter4j
README
# SpringBoot Starter for Twitter4J
## How to use?
1. Install the `twitter4j-spring-boot-starter` locally
```shell
git clone https://github.com/sivaprasadreddy/twitter4j-spring-boot-starter.git
cd twitter4j-spring-boot-starter
./mvnw clean install
```
2. Add **twitter4j-spring-boot-starter** by adding the following dependency.
```xml
com.sivalabs
twitter4j-spring-boot-starter
1.0-SNAPSHOT
```
3. Go to https://developer.twitter.com/, create an application and generate Keys and tokens
4. Configure your Twitter OAuth properties in **example/src/main/resources/application.properties**
Now you can run the application or tests as follows:
```shell
cd example
./mvnw test
./mvnw spring-boot:run
```