GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — springboot-learn-by-example/chapter-04 at master · shjguo/springboot-learn-by-example

Expand file tree

/

chapter-04

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

chapter-04

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
twitter4j-spring-boot-autoconfigure
twitter4j-spring-boot-autoconfigure
 
 
twitter4j-spring-boot-sample
twitter4j-spring-boot-sample
 
 
twitter4j-spring-boot-starter
twitter4j-spring-boot-starter
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

SpringBoot : Learn By Example

Chapter 04 : Creating Custom SpringBoot Starter

twitter4j-spring-boot-autoconfigure : Module which contains Twitter4J AutoConfiguration bean definitions

twitter4j-spring-boot-starter: Module which pulls in twitter4j-spring-boot-autoconfigure and twitter4j-core dependencies

twitter4j-spring-boot-sample: Sample SpringBoot application which uses twitter4j-spring-boot-starter

How to run?

Configure Twitter OAuth parameters in twitter4j-spring-boot-sample/src/main/resources/application.properties

twitter4j.oauth.consumer-key=
twitter4j.oauth.consumer-secret=
twitter4j.oauth.access-token=
twitter4j.oauth.access-token-secret=

chapter-04> mvn clean install

chapter-04> cd twitter4j-spring-boot-sample

twitter4j-spring-boot-sample> mvn clean package spring-boot:run

You should see the latest tweets of your Twitter timeline in the console.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.