Since Zoom can’t stream easily to Facebook anymore due to API changes I built a plugin that automates retrieval of stream key and streaming URL from Facebook in order to setup the stream on Zoom.
However, I was not aware that this easily results in bans on Facebook, apparently they are good in detecting automations.
Anyhow, the code can still be a good starting point for Elm developers wanting to implement a Chrome/Firefox plugin that automates clicking and retrieving of data from websites.
There’s a state machine that handles all the different actions performed on websites:
- Click on an element with a certain selector
- Click on an element with a certain text
- Click on an element inside another element
- Retrieve text from an element
- Store a retrieved value
- Erase a stored value
- Wait for an element to appear
- Wait for a certain URL (pattern)
- Fill text into an element
- Fill text into a contenteditable element
- Focus an element
- Conditionally skip actions (goto in state machine)
The plugin is prepared to operate on different language versions of a website.
If interested, please have a look here:
https://github.com/synalysis/Stream2Facebook