We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello,
Simply, I'm trying to access Twitter from within Processing. I have had zero luck and have seemingly scoured every resource on the internet.
My first attempt involved this: https://forum.processing.org/one/topic/oauthp5-new-oauth-library-for-processing.html http://nytlabs.com/oauthp5/ which throws a bunch of errors, and since it's a compiled library that was written roughly 5 years ago, I feel like it's a dead end. I’ve even tried to import the project into Eclipse, but ended up way over my head.
Next attempt: http://codigogenerativo.com/code/twitter-para-processing-2-0/ http://www.codasign.com/tutorials/processing-and-twitter/
Both of these old posts suggest a seemingly sketchy way of adding a library to Processing by changing the name of a jar file and placing it in a specific folder. After attempting this, Processing continually complained about the library not existing.
I would like to try and find a way to implement OAuth within processing to then apply to a REST client that can use to communicate with any number of services. I.E., Facebook, Flicker, Twitter.
The problem is, there seems to be no modern tutorial on how to implement OAuth within Processing. Can anyone with experience with this point me in the right direction?
Thanks for any suggestions, Marcus
Answers
This is still a need for me and I'm asking for help from anyone who may have experience in this regard.
Sincerely, Marcus
Have you tried: https://github.com/gohai/processing-simpletweet
That's only Twitter though, doesn't cover Facebook etc
There's a Google Java oauth library but I got confused when I looked at it because it's multi-platform
They lost me at AuthorizationCodeFlow.CredentialCreatedListener...
https://developers.google.com/api-client-library/java/google-oauth-java-client/reference/1.20.0/com/google/api/client/auth/oauth2/package-summary