We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi.
I've done some sketchs using twitter4j in java mode. Although I love twitter4j its no good for deploying in websites, because all the Applet security stuff. Now I was looking into a similar library to use in js, in p5.js. But I'm a little confused. From dev site there is only two js libraries, and they are node.js modules, which I don't know exact what means. Is this because js is not secure to handle oAuth stuff? Or I don't need a library to use twitter API from js? Any insights?
Thanks
Answers
https://en.wikipedia.org/wiki/Node.js
https://nodejs.org/
https://iojs.org/en/index.html
Node.js & io.js are JavaScript-based servers.
That is, we can code server-side apps using JS too!
thanks GTL gonna check out.
Hi! Did you managed to make this work? I am trying to do something similar but I am a little bit confused. I am not quite sure how to make interact my p5.js code with twitter using node (totally new to node.js!)
My understanding (so far) is that my p5.js will call my server (through node (?)) which will reply my twitter feed from a file at the server. Is that right?
Have you been able to find an example which uses p5js and node together? Any tip in the right direction will be appreciated! Thanks!
Hi, I'm kind in the middle of getting something going, but haven't had time lately to fiddle with this. There is some info in p5.js site about node, and Daniel Shiffman has a video tutorial using p5.js and twitter API, but no node yet. If I get further I'll post here.
https://github.com/processing/p5.js/wiki/p5.js,-node.js,-socket.io
https://www.youtube.com/playlist?list=PLRqwX-V7Uu6atTSxoRiVnSuOn6JHnq2yV