Coder Social home page Coder Social logo

samyukthagopalsamy / twitterapplication Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 11 KB

Java application to access twitter account using twitter API. Twitter data extraction in Java using Twitter4j.

Java 100.00%
twitter-api java twitter4j twitterapplication

twitterapplication's Introduction

Twitter data extraction

Java application to access twitter account using twitter API.

  1. A Twitter developer account is created to access Twitter APIs.
  2. A Twitter app called Basic_Twitter_Application is created.
  3. Consumer API keys, access token, and access token secret are obtained for the twitter account using which the app is created.
  4. Twitter4J, an unofficial Java library for the Twitter API is used to integrate the java application with the Twitter service.
  5. Twitter4j library is downloaded from http://twitter4j.org and the jar file is added to the java application classpath. (twitter4j-core-4.0.4.jar is used for this application)
  6. 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 can be performed.

(β€˜ user’ refers to the twitter account used to generate the access tokens.)

  1. Display of twitter timeline of the user or any other twitter account.
  2. Display the trends on Twitter for a specific WOEID(Where On Earth Identifier)
  3. Post or delete a status to the user timeline.
  4. Send personal messages to the followers of the account.
  5. Search for tweets using keywords.
  6. List the friends and followers of the user.

OUTPUT

output1

output2

twitterapplication's People

Contributors

samyukthagopalsamy avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

praveenkumarsh

twitterapplication's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.