📜 ⬆️ ⬇️

tweet-button

tweet-button - gem / plugin to generate a new Twitter button.

Using

Enable TweetButton in your application helper. After that, in any template you can call the helper:
')
<%= tweet_button %>

Additional parameters are also supported:

<% = tweet_button (: via => "peterc",: url => " hashtrain.com " ,: text => "AWESOME.")%>

Source code and documentation are available on Github: http://github.com/intridea/tweet-button

Source: https://habr.com/ru/post/101646/


All Articles