Share
Explore

Twitter Web Intents

Easily start a tweet with the Twitter "mailto" equivalent
Context
In Coda, you’re able to open hyperlinks with a button:
Like this →
=OpenWindow("www.google.com")
Or like this →
=OpenWindow("www.youtube.com")
But you can also use protocol handlers like mailto: to start an email draft if you have them setup in your browser for your default mail client:
=OpenWindow("mailto:support@coda.io")
With Twitter
And while there isn’t a generic protocol handler for Twitter (e.g. tweet:Hello world), if you want to start a tweet w/ a button or link, you can do so using ー which are URLs that look something like...
Tweet → https://twitter.com/intent/tweet?text=...
Retweet → https://twitter.com/intent/tweet?tweet_id=...
Like → https://twitter.com/intent/like?tweet_id=...
Follow a user → https://twitter.com/intent/follow?user_id=...

So
start a tweet
.

Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.