Skip to content

djkram/bts-demo-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Ingestion - Data Gathering

This is an exemple for the hands on Session #5 of the BigData module on BTS Master. We will create together a project in Spring integration framework to collect data from twitter API.

Set Up your development environment

Create an App for Twitter API access

Go to: https://apps.twitter.com/

Create Twitter API App

Complete the form:

Create Twitter API App

Go To Tokens Tab:

Create Twitter API App

Get your Keys:

Create Twitter API App

Active your Tokens:

Create Twitter API App

Get your Tokens:

Create Twitter API App

Clone and develop the application

Clone this project in your terminal or Git Shell:

$ git clone https://github.com/djkram/bts-demo-integration.git

Clone using STS:

File > Import > Git > Projects from Git > Clone Uri

Set UP your Twitter Api Credentials

Open the properties file:

src/main/resources/application.properties

Set your credentials:

twitter.oauth.consumerKey=
twitter.oauth.consumerSecret=
twitter.oauth.accessToken=20428117-
twitter.oauth.accessTokenSecret=
twitter.search.query=

Open the configuration file:

src/main/resources/twitter-integration-connection.xml

Contains this data ingestion flow:

Spring integration flow

Reference documentation of spring integration: http://docs.spring.io/spring-integration/reference/htmlsingle/

  • Read the Part III for an overview.

  • Read the Part IV for a deep detail.

  • Read the Part V to know the endpoints supported.

HOMEWORK

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published