TIKTOK
Use with Node-RED
A simple TikTok Follower Count for AWTRIX via an HTML Web Scrape
- Topic
- Social
- Includes
- Flow
Runs on
- Does not run on 32×8 (TC001 & DIY) Made for AWTRIX 3.
- Does not run on 52×16 (TC002) Made for AWTRIX 3.
- Runs on 32×8 with AWTRIX 3 (TC001 & DIY)
Is this your flow?
If you created this flow, open your saved edit link to add it to your account. You can then manage it whenever you sign in. Adding it to your account replaces the edit link.
Flow description
Steps to Make this Work with Your Data & Clock
Step 1: Select Hour Interval for Updating Your Follower Count.
You can change how often this number updates by using the first trigger node. Select how many hours you'd like between each follower count update. Please note, this tool does NOT work via the TikTok API, but rather web scraping. Keep updating this to a minimum, as of now I have it set to every 12 hours.
Step 2: Changing the TikTok Username
Under Fetch HTML Data, please see the URL field. You'll see "https://www.tiktok.com/@yourusernamehere?is_copy_url=1&is_from_webapp=v1." Please change yourusernamehere to your TikTok username.
Step 3: Updating your Clock IP in n8n
Under the "Send to Clock" node and the "Remove App" node, please ensure that you change the IP in the URL to your clock's IP, if it differs from what is already written. Only change the IP, do not change any other syntax.
Step 4: Adding the Icon
You can either add the Icon from this Flow, or you can download the icon to your pixel clock directly from it's IP.
To do this go to the IP address of your clock in your browser, hit the 'Icons' tab, and paste in "35685" (without quotation marks) under Lametric Icon ID, and hit Download.
Removing the App from Your Clock
Keep "Remove from Clock" disconnected from all other nodes. To use this node to remove the app from your clock, ensure that your clock's IP address is correctly set under the URL Field, then click Execute Node (or hit the play button on the Node within the Canvas). Alternatively, you can remove the app from your clock by deactivating the n8n workflow and rebooting your clock by accessing http://[Clock IP]/api/reboot from your browser.
-- Flow first published on June 12, 2023.
Sign in to view and copy the code of this flow.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
Have an idea?
Sign in to ask questions and join the conversation.