Python to run speedtest-cli and tweet the results. The Twitter application name is really TweeterNo1.
Inspired by a post to Slashdot "How Raspberry Pi Can Automatically Tweet Complaints About Slow Internet" by timothy on Tuesday February 02, 2016 @05:02AM from the should-be-built-into-every-modem dept. See http://tech.slashdot.org/story/16/02/02/0517223/how-the-raspberry-pi-can-automatically-tweet-complaints-about-your-slow-internet
Sample code was located and taken from http://pastebin.com/WMEh802V. My sample code is here.
See my Twitter feed for real-world messages. The main issue getting this to work was figuring out how little you need to do to make it happen. The Twitter docs are complicated. What cracked it for me was looking at the oauth.py sample provided with the API package called Tweepy, which uses Python.
Sample output from a program that prints my last 10 runs of the speedtests: here.
Sub-folder is OAuth.1.0.a here (not used).
The cgi-bin program does NOT run on this server.
Last updated 2016-02-10. 2016-02-05.