micheleminno / real-affinities Goto Github PK
View Code? Open in Web Editor NEWDockerized EEAN web application (Elasticsearch, Express.js, Angular2, Node.js). It allows you to search for useful Twitter profiles (by interest or network proximity).
Dockerized EEAN web application (Elasticsearch, Express.js, Angular2, Node.js). It allows you to search for useful Twitter profiles (by interest or network proximity).
It doesn't get POST parameter (the profile to index).
It doesn't get the profile id:
Removing profile with id undefined from target
Green background in UI.
ex.: /twitter/search/tweets?q=music%20OR%20concert&lang=en&amount=1000
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...
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
},
...
]
}
After 2 minutes during the first search it starts another search from the beginning. Then the two searches go in parallel. At the end of the second search the interest text is not updated.
In profile home page
In the express server.
Selecting interest in the dropbox works, but:
Getting profiles matching with interest undefined
In Angular 2 actual AngularJS code doesn't work anymore.
Tweet fields required are manipulated multiple times in different code locations.
Error composing the POST request to send to express server.
Converting circular structure to JSON at: JSON.stringify(body)
Happening i.e with accounts: @micheleminno, @cz_binance
Error when updating friends of the user, after having updated his followers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.