# Twitter activating machines

**URL:** https://discourse.processing.org/t/twitter-activating-machines/14783
**Category:** Electronics (Arduino, etc.)
**Created:** [October 18, 2019, 9:39pm UTC](https://discourse.processing.org/t/twitter-activating-machines/14783 "2019-10-18T21:39:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![GraceOD](https://avatars.discourse-cdn.com/v4/letter/g/977dab/32.png) [@GraceOD](https://discourse.processing.org/u/GraceOD)
#### Post date: [October 18, 2019, 9:39pm UTC](https://discourse.processing.org/t/twitter-activating-machines/14783/1 "2019-10-18T21:39:03Z")

</div>

Hi guys,

Just want to ask a question and see if people have experience in this area, or if this idea is even possible.

I want to make a machine that is fuelled by tweets or instagram shares and the machine will aid the growth of fungi.

Is it possible to turn a lamp on with a tweet? Or to release a spore of fungi into a petri dish? I am inspired by the twitter activated vending machines used as marketing for many companies in 2014.

I am open to use any hardware especially Arduinos and Rasperry Pi’s…

Looking forward to hearing back from you guys on this!

Grace

---

<div class="post-metadata">

### Author: ![Pr0tonX](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/pr0tonx/32/2590_2.png) [@Pr0tonX](https://discourse.processing.org/u/Pr0tonX)
#### Post date: [October 18, 2019, 11:54pm UTC](https://discourse.processing.org/t/twitter-activating-machines/14783/2 "2019-10-18T23:54:29Z")

</div>

Hi,  
I can confirm that you can activate anything you want with a tweet, but since february (more or less), Twitter imposed new restrictions, and you can’t make request as frequently as before, ( I don’t remember exactly what is the shorter delay authorized , about 1min I think ) so the response to your Tweet may suffer of a delay …

There is a java library that works well with the Twitter API : [Twitter4j](http://twitter4j.org/en/index.html).  
You can compute your twitter data with Processing and then send directives to an Arduino board through a USB port. And Arduino will be in charge of the electronics.  
Or use Processing for Raspberry, as you want.

PS : Be aware, to be able to use the Twitter API, you will have to ask a dev account, wich can take few days.

---

<div class="post-metadata">

### Author: ![GraceOD](https://avatars.discourse-cdn.com/v4/letter/g/977dab/32.png) [@GraceOD](https://discourse.processing.org/u/GraceOD)
#### Post date: [October 18, 2019, 11:59pm UTC](https://discourse.processing.org/t/twitter-activating-machines/14783/3 "2019-10-18T23:59:50Z")

</div>

Hi PrOtonX,

Thats great, thanks so much for the info! You were a massive help!

Grace
