Helper: social/twitter/tweet

« All helpers

Embeds a Twitter Tweet This button into the current page.

In PHP code, call it like this:

echo $this->run ('social/twitter/tweet');

In a template, call it like this:

{! social/twitter/tweet !}

Parameters:

  • twitter_id - The Twitter ID to mention (default = Twitter ID setting).

Also available in the dynamic objects menu as "Twitter: Share".