mlkingh
Forum Replies Created
-
Forum: Plugins
In reply to: [oAuth Twitter Feed for Developers] Output StylingI mean like this…I forgot to click the code stamp in the WYSIWYG
`echo ‘<p class=”tweet”>’ . $the_tweet . ‘</p>’;
echo ‘$profile_image_url’;
echo ‘
<div class=”twitter_intents”>
<p>Reply |
Retweet |
Favorite</p>
</div>’;
echo ‘
<div class=”timestamp”>
‘.date(‘h:i A M d’,strtotime($tweet[‘created_at’]. ‘- 8 hours’)).’
</div>’;// -8 GMT for Pacific Standard Time
} else {
echo ‘
<hr>
Click here to read mlkingh\’S Twitter feed‘;
}
}
}Forum: Plugins
In reply to: [oAuth Twitter Feed for Developers] Output StylingLike this?
echo '<p class="tweet">' . $the_tweet . '</p>'; echo '$profile_image_url'; echo ' <div class="twitter_intents"> <p><a href="https://twitter.com/intent/tweet?in_reply_to='.$tweet['id_str'].'">Reply</a> | <a href="https://twitter.com/intent/retweet?tweet_id='.$tweet['id_str'].'">Retweet</a> | <a href="https://twitter.com/intent/favorite?tweet_id='.$tweet['id_str'].'">Favorite</a></p> </div>'; echo ' <div class="timestamp"> <a href="https://twitter.com/mlkingh/status/'.$tweet['id_str'].'"> '.date('h:i A M d',strtotime($tweet['created_at']. '- 8 hours')).' </a> </div>';// -8 GMT for Pacific Standard Time } else { echo ' <hr> <a href="http://twitter.com/mlkingh">Click here to read mlkingh\'S Twitter feed</a>'; } } }[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]
Forum: Plugins
In reply to: [oAuth Twitter Feed for Developers] Output StylingI am using that example from stormuk, but I cannot figure out how to add a profile image into it and I need profile images on there for my client. I don’t write PHP code although I can manipulate it sometimes. Any sample code that shows how to add the profile image to the example above?