8000 GitHub - andresgallego/broadwell: Post to a slack channel the latest tweet about any query parameter using Auth0 webtasks
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andresgallego/broadwell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Post the latest tweet about any query parameter to a slack channel using Auth0 webtasks

With Auth0 Webtasks you can post to a slack channel the latest tweet about any query parameter without worrying about backend.

Follow these 3 steps:

npm install -g wt-cli
wt init
wt create https://raw.githubusercontent.com/andresgallego/broadwell/master/broadwell.js \
    --secret slack_token={your_slack_admin_token} \
    --secret twitter_consumer_key={your_twitter_consumer_key} \
    --secret twitter_consumer_secret={your_twitter_consumer_secret} \
    --secret twitter_access_token={your_twitter_access_token} \
    --secret twitter_access_token_secret={your_twitter_access_token_secret}

And you should be given a URL. Visit it in your browser or console of choice and add the next parameters to the end of the address

$ curl https://webtask.it.auth0.com/api/run/<yours>/broadwell?webtask_no_cache=1&channel=<your_channel>&user=<username>&topic=<query>

If you don't provide the user parameter, it will set it to default "Webtask" username, the other parameters are required.

About

Post to a slack channel the latest tweet about any query parameter using Auth0 webtasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0