Post on Twitter
Tags: #ifttt #nocode #snippet
Author: Jeremy Ravenel
See the tutorial video on Youtube: https://www.youtube.com/watch?v=FvAM1aS4GFM

Input

Import library

1
from naas_drivers import ifttt
Copied!

Variables

1
twitter_post = """Hello world, this is my first automated post
2
with @JupyterNaas @IFTTT driver🔥
3
"""
4
event = "naas_demo"
5
key = "ke4AigvXI5-EABaowdLt4fju1aOUxeMxSXQoN***"
6
data = { "value1": twitter_post }
Copied!

Model

Connect to IFTTT

1
result = ifttt.connect(key)
Copied!

Output

Display result

1
result = ifttt.send(event, data)
Copied!
Copy link
Edit on GitHub