You are here

function twitter_retweet in Twitter 7.6

Same name and namespace in other branches
  1. 6.5 twitter.inc \twitter_retweet()
  2. 7.5 twitter.inc \twitter_retweet()

Retweet a tweet.

File

./twitter.inc, line 321

Code

function twitter_retweet($twitter_account, $tweet_id) {
  module_load_include('lib.php', 'twitter');
  $twitter = twitter_connect($twitter_account);
  $twitter
    ->retweet($tweet_id, $twitter_account);
}