Connect to Twitter streaming api
-
Hello,
I'm new to programming and for the most parts I don't have idea on what I'm doing but i would like to know if it's relatively easy to connect to twitter streaming API using QT.I had success connecting following the example bellow, using libraries like curl, liboauth and openssl but i would like to make everything is QT since it's more thread safe and maybe easier to implement in a gui.
https://gist.github.com/komasaru/9c78a278f6916548f146I tried looking on how it works in the example above and appling to QT but it gets pretty indepth and i got lost. I don't really understand the oauth flow, what tools to use and how. I also don't know if QNetworkAccessManager can do this since it's async and for twitter streaming api i need a continuous call.
From what i've read it's not necessary to implement the full oauth, just the part where i make the signed request, but i don't know: https://developer.twitter.com/en/docs/basics/authentication/guides/single-user
So is this doable for someone new to programming, any examples or tips to get me started?
-
This is in fact one of Qt's examples: https://doc.qt.io/qt-5.10/qtnetworkauth-twittertimeline-example.html