PDA

View Full Version : Live tweets of New Posts and Threads


iref2010
05-04-2014, 07:02 PM
I am looking for a new or existing plugin/hack that allows new posts to be tweeted on 3.8.7

If there is none, can someone develop it for me?

Thanks

laura66a
05-12-2014, 09:08 AM
You can use this code for manual tweeting without a hack or plugin:

<a href="https://twitter.com/share" class="twitter-share-button" data-via="connectedcom" data-size="large">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementB yId(id)){js=d.createElement(s) ;js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}} (document, 'script', 'twitter-wjs');</script>

If you want automatic tweeting, look at networkedblogs.com

iref2010
05-16-2014, 05:55 PM
You can use this code for manual tweeting without a hack or plugin:

<a href="https://twitter.com/share" class="twitter-share-button" data-via="connectedcom" data-size="large">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementB yId(id)){js=d.createElement(s);js.id=id;js.src=p+' ://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}} (document, 'script', 'twitter-wjs');</script>

If you want automatic tweeting, look at networkedblogs.com

Thank You Laura. How to tweet the Post URL? Seems like one can only Tweet thread URL with this code. :)