Built in Twitter Support [Feature Request]

Started by Nspector5, October 27, 2017, 03:12:17 PM

Nspector5

I know that a user has already proven out the ability to send tweets, (see https://lowpowerlab.com/forum/pi-gateway/added-twitter-to-pigateway-so-it-can-send-tweet-events/) but doing so requires modifying the gateway.js and metric.js, which makes migration during updates somewhat problematic. I would like to see twitter support built in, similar to the new e-mail attachment support. Just add your keys to the setting page to enable tweeting.

Thank you.

Felix

I will consider it in the next version.
I am thinking about making the js files more modular, keep the core stuff in the existing files, and allow loading modules separately. That could allow users to load their own sets of metrics, functionality etc.

LukaQ

Quote from: Felix on October 27, 2017, 05:05:28 PM
I will consider it in the next version.
I am thinking about making the js files more modular, keep the core stuff in the existing files, and allow loading modules separately. That could allow users to load their own sets of metrics, functionality etc.
That is a good plan forward, more easy to update specific part also