Posts Tagged ‘twitter’

Plug In for Twitter

Saturday, December 5th, 2009

gateway Plug In for Twitter

Well – to make plug in work as I need, I maid some changes in Original:

Changes I maid in file twitter-tools.php line 498 (or 500).

Can’t show original, but my included code looks like this:

if (!$data) {
return;
}
//Setting for Twii
$data['post_content'] = str_replace (’nofollow’,”,$data['post_content']);
$data['post_content'] = “Text Before” . $data['post_content'] . “<br/> <br/> <br/> <strong> This is my Message from Twitter! </strong>”;
$data['post_title'] = “I Twitt – “. date(”H.i”);
//

What I did was

  • I took out No-follow;
  • I changed title to my own, but didn’t find the best way to make it dynamic
  • I added extra text (you may put in Variables too) after and before Tweet.

That’s all , hope this will be useful for you :)