E5C5 GitHub - preethi-sv/Twitter-data-extraction: Extraction of data from Twitter. · GitHub
[go: up one dir, main page]

Skip to content

preethi-sv/Twitter-data-extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Twitter Data Extraction

Extraction of data from Twitter in Java using Twitter4j.

Name of the Twitter account used : Alexa.

Twitter App name : Twitter_Access_App_1

Steps

Twitter4j library is downloaded from its official webpage and extracted after JDK and Eclipse IDE is installed.
The JAR file twitter4j-core-4.0.4.jar is added to the application class path.
An app is created in Twitter by giving a name for the app, an URL.
Access level can be changed in the app. Access token and secret is requested from the twitter.
Finally, consumer key, consumer secret, access token and access token secret are copied.

Imports

In the Java project, all the required twitter4j classes such as ConfigurationBuild, TwitterFactory, Twitter, Status, Query, Trends, IDs, User etc are imported and the following are implemented.

Functionalities

Get Twitter Timeline of the user.

Get the Trends on Twitter based on user input WOEID (Where On Earth Identifier)

Post and Delete Status

Send personal messages to follower.

Search tweets using Keywords.

Get Friends and Followers of any public user.

About

Extraction of data from Twitter.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

0