Giter VIP home page Giter VIP logo

micheleminno / real-affinities Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 30.3 MB

Dockerized EEAN web application (Elasticsearch, Express.js, Angular2, Node.js). It allows you to search for useful Twitter profiles (by interest or network proximity).

JavaScript 35.75% Shell 4.54% TypeScript 41.30% HTML 15.94% CSS 1.78% Dockerfile 0.69%
angular2 big-data-analytics docker docker-compose elasticsearch express-js influencer-marketing kibana node-js twitter-api

real-affinities's People

Contributors

micheleminno avatar

Stargazers

 avatar

Watchers

 avatar  avatar

real-affinities's Issues

It fails when adding some profiles to target

i.e. @cz_binance

Calling Twitter APIs to get followers ids of 902926941413453800 with cursor -1
express_1        | Err: {"message":"Sorry, that page does not exist.","code":34,"allErrors":[{"code":34,"message":"Sorry, that page does not exist."}],"twitterReply":{"errors":[{"code":34,"message":"Sorry, that page does not exist."}]},"statusCode":404}
express_1        | User doesn't exist on Twitter
express_1        | setResult(null, 1, -1, followers, callback)
express_1        | User null
express_1        | Followers affinities updated
express_1        | User id null
express_1        | Affinities added for user 902926941413453800
express_1        | /usr/src/app/server/target.js:47
express_1        |       					+ data["followers"]["page"] + ", "
express_1        |       					                   ^
express_1        |
express_1        | TypeError: Cannot read property 'page' of undefined
express_1        |     at /usr/src/app/server/target.js:47:31
express_1        |     at /usr/src/app/server/affinities.js:309:6
express_1        |     at setResult (/usr/src/app/server/affinities.js:124:3)
express_1        |     at /usr/src/app/server/affinities.js:199:16
express_1        |     at /usr/src/app/node_modules/twit/lib/twitter.js:127:13
express_1        |     at onRequestComplete (/usr/src/app/node_modules/twit/lib/twitter.js:347:7)
express_1        |     at Request.<anonymous> (/usr/src/app/node_modules/twit/lib/twitter.js:364:7)
express_1        |     at Request.emit (events.js:326:22)
express_1        |     at Gunzip.<anonymous> (/usr/src/app/node_modules/request/request.js:1076:12)
express_1        |     at Object.onceWrapper (events.js:420:28)
express_1        |     at Gunzip.emit (events.js:326:22)
express_1        |     at endReadableNT (_stream_readable.js:1241:12)
express_1        |     at processTicksAndRejections (internal/process/task_queues.js:84:21)
express_1        | [nodemon] app crashed - waiting for file changes before starting...

Add trends services in backend

API response should be something like that:

{
   "about":"Etherium",
   "from":"03-03-2022 14:30",
   "to":"04-03-2022 14:30",
   "data_every":"minute",
   "data":[
      {
         "time":231233300,
         "value":3443
      },
      {
         "time":231233360,
         "value":3441
      },
      {
         "time":231233420,
         "value":3433
      },
      {
         "time":231233480,
         "value":3422
      },

     ...

   ]
}

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.