Giter Club home page Giter Club logo

twitterapi's Introduction

twitterAPI.connect

Connect is maven based Spring boot server program which is inteded to host a web service. this web service will recieve two username of twitter account in HTML form hosted at http://localhost:8080/getMutualFollowers and on submit it will return common followers of those user1 and user2.

Work flow:

/getMutualFollowers is mapped inside userInfoController.java as a GET method which returns a manually HTML based web page containing a form and data list below. After submitting userid in form, userInfoController will be redirected to twitterContoller which will internally call twitter api and retrieve followers list for both users. since twitter has restricted on bulky request for student developer credential, i am using API's on my personal twitter account which has less followers to avoid rate limit exceed error. After succesful return of followers list of both users, it will simply retain all common followers id and rerturn this in same HTML page in list below form. Please refer screenshots for more crearity.

Restriction: Twitter Api has limit for hourly requests hence testing this application was not possible for celerities accounts which has huge no of followers. It may require to restart application as it sometimes looses connection with twitter api over time and due to connectivity issue. I have simply not covered for exception handling so please don't mind errors on out of scope testing.

twitterapi's People

Contributors

vikrantsingh004 avatar vikrant004 avatar

Watchers

 avatar

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.