Skip to content
This repository was archived by the owner on Feb 14, 2022. It is now read-only.

Twitter

pas edited this page Nov 4, 2015 · 1 revision

To tweet a comment simply use

/twitter/tweet?message=Your%20Message

Or in a programmatic way

redirect_to { controller: "twitter", action: "tweet", message: "Your Message" }

To create URL compatible strings use URI

url_compatible = URI.encode("Your Message")

Clone this wiki locally