LowPowerLab Forum

Software support => Pi Gateway => Topic started by: Nspector5 on October 27, 2017, 03:12:17 PM

Title: Built in Twitter Support [Feature Request]
Post by: Nspector5 on October 27, 2017, 03:12:17 PM
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/ (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.
Title: Re: Built in Twitter Support [Feature Request]
Post by: 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.
Title: Re: Built in Twitter Support [Feature Request]
Post by: LukaQ on October 28, 2017, 05:08:06 AM
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
Title: Re: Built in Twitter Support [Feature Request]
Post by: Nspector5 on November 01, 2017, 10:10:17 AM
Wonderful. Thank you.