intrepidolivia / pixelstomp-server Goto Github PK
View Code? Open in Web Editor NEWCode serving the pixelstomp website and its various social media search utilities
Home Page: http://www.pixelstomp.com/
License: GNU General Public License v3.0
Code serving the pixelstomp website and its various social media search utilities
Home Page: http://www.pixelstomp.com/
License: GNU General Public License v3.0
If a user requests information from a private Twitter account, the app hangs without any further communication. Investigate what the response to this request looks like, and relay to the user as appropriate.
When requesting from endpoints:
/reddit/subreddit/activeRedditors
or
/reddit/subreddit/comments/
If the subreddit parameter is not the name of an actual subreddit, the requests will just time out instead of sending an appropriate response.
Expected behavior:
Right now, endpoints only function as receptacles for provided query parameters; the parameters themselves cannot yet be included as part of the path. The pixelserver code should be refactored out (and some utilities created) for path-parsing.
Doing this manually is sure to be re-inventing the wheel in many ways, but will be a valuable exercise (and as long as we refuse to use Express, it fits the code philosophy to do so).
Brainstorm ways of doing this. The first thing that comes to mind is to split the path by '/' and negotiate each array element sequentially. This is probably not even remotely optimized, see if you can come up with something better.
Instagram API information: https://www.instagram.com/developer/
Currently, requesting all of a user's comments only retrieves the 1000 most recent comments. Now that we know how to use Promises, find a way to retrieve all of the comments.
The most obvious new module is the "reddit access" functions that handle making requests and acquiring tokens.
Possibly consider one module for user-related queries and one module for subreddit/post-related queries (another one for votes, maybe?)
Alternatively: one module for comments, one module for posts.
Meanwhile all the exported functions could remain a part of reddit-module, and their internals separated out accordingly.
On http://pixelstomp.com/apps/yt-request/yt_lookup.html When retrieving youtube comments, sometimes authorChannelId
does not exist, and getBasicCommentInfo
on the website will throw an exception.
Questions:
When does authorChannelId not exist?
Example query (as of 04 Dec 2019): https://www.youtube.com/watch?v=BA5ATX7YKLI
Scan through a reddit thread and use a directional graph to indicate which users responded to other users.
Optional: Identify strong components, then tally up the frequented subreddits of those users and see where the intersections are.
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.