• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    Twitter and Isadora

    How To... ?
    6
    6
    2.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • simonS
      simon
      last edited by simon

      Hi Everyone,

      I'd like to create a patch that triggers events in Isadora when Tweets are sent from specific Twitter accounts, is that possible?

      Thanks

      Simon

      FredF 1 Reply Last reply Reply Quote 0
      • dbiniD
        dbini
        last edited by

        have a play with https://ifttt.com/

        John Collingswood
        taikabox.com
        2013 MBPR 2.3GHZ i7 OSX11.7.4 16GB
        & 2019 MBPT 2.6GHZ i7 OSX12.3 16GB

        1 Reply Last reply Reply Quote 0
        • SkulptureS
          Skulpture Izzy Guru
          last edited by Michel

          This used to be really easy when twitter was XML based. Now it's based on JSON and not quite as easy to do. @DusX is nifty with JSON and JavaScript so there could be a way.... there's always a way actually it's just finding the best method! 

          Graham Thorne | www.grahamthorne.co.uk
          RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
          RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
          RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

          1 Reply Last reply Reply Quote 0
          • MaximeM
            Maxime
            last edited by Maxime

            I did a project using twitter and Isadora last year, but it was also using some node.js and processing (then sending info to Isadora through OSC)

            I highly recommend this tutorial if you want to have good insights about the Twitter API and how to play with it (and have some fun too 🙂 )  

            (But if there's some way to do it directly in Isadora I guess that would be great 🙂 )

            MBP 15" end 2013 / i7 2,3Ghz /NVIDIA GT 750M 2048Mo / 16Go RAM / OS 10.10.3
            Razer Blade 15" 2018 /i7/ GTX1070/ 16Go RAM

            1 Reply Last reply Reply Quote 0
            • FredF
              Fred @simon
              last edited by

              @simon You can do this with node-red, it can read twitter and send osc with an extra library. 

              This is for node red http://nodered.org/docs/gettin...

              and this for the extra but you can get it internally on node red. 

              https://github.com/njh/node-re...

              http://www.fredrodrigues.net/
              https://github.com/fred-dev
              OSX 10.15.15 MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
              Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD
              Windows 10 Threadripper 3960x 64g ram, 1tb NVME, rtx 2080ti + rtx2070 super

              1 Reply Last reply Reply Quote 0
              • DusXD
                DusX Tech Staff
                last edited by

                There are a number of ways to do this..

                Freds idea might be one of the easiest. Since it has pre built components for dealing with Oauth (the login format used by Twitter) and does require writting any code.

                -If your tweets are public facing, and you can view the data without logging in, you may be able to grab the twitter page text with the Isadora TCP-IP actor and parse the text internally either with Text manipulation actors, or with Javascript. This page may help: http://www.dusxproductions.com...

                Other possible options

                • if you have a webserver, you can write a server side script, and use the built in TCP-IP actors to poll your server side script.
                •  you could write a script (python, processing, PHP, or any other really) that runs along side Isadora, and checks (polls) twitter to get any new posts every so often [defined period of time].
                  Sending any result to Isadora via OSC. (much like Freds options)
                • web tools like IFTTT or Zapier (there are many others) can connect to your social media sites, and prepare the content for you in a number of ways.. (you will need to get the data, again tcp-ip or scripting are your options)

                PS: What Graham is getting at is that the method of connecting to and working with twitter data changed sometime back. The authentication became much more secure (Oauth) and many things that were open to the public were made restricted to authenticated users. (the format also change from xml to json). JSON is very easy to use in Isadora. 

                Troikatronix Technical Support

                • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                • Isadora Add-ons: https://troikatronix.com/add-ons/
                • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

                Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post