How to use TwitterBot's format?

in #steemit7 years ago (edited)

Every now and then, you might see @twitterbot commenting on a story. The bot - developed by @derekareith - responses to Twitter links and shows them in a specific format. I have seen some comments of Steemers asking how to use the twitterbot format. It is not hard, but you have to know where to look.

For example, consider this post.

The next step is to find the source code of @twitterbot's comment in the HTML source. Simply search (Ctrl + F) for one or more words, cause you don't want to pass through the whole code. Then, you need to copy the part corresponding to the comment. This is the part stretched between the 'div' starting and closing tags.

<div data-reactid="644"><h3><img src="https://steemitimages.co/0x0/https://pbs.twimg.com/profile_images/662440031848546304/1H2eJL52_normal.jpg" alt="profits_bitcoin" /> <strong><a href="https://twitter.com/@profits_bitcoin/status/891815168757215232" rel="noopener">BitcoinProfits</a></strong> tweeted @ 31 Jul 2017 - 00:18 UTC</h3>
<blockquote>
<p>Challenging time in Bitcoin markets when broker stops trades. Scared Money rules. Read all about it… <a href="https://t.co/DqgMkw6L1Z" rel="noopener">twitter.com/i/web/status/8…</a></p>
</blockquote><h6><em>Disclaimer: I am just a bot trying to be helpful.</em></h6></div>

As the editor understands HTML, the 'hardest' part is already done. It looks nicer though, if you remove the 'disclaimer' (remove the part between <h6> and </h6>).

And then the tweet looks like this:

profits_bitcoin BitcoinProfits tweeted @ 31 Jul 2017 - 00:18 UTC

Challenging time in Bitcoin markets when broker stops trades. Scared Money rules. Read all about it… twitter.com/i/web/status/8…

Sort:  

But why do we need Twitter articles here?

Hi. I am a volunteer bot for @resteembot that upvoted you.
Your post was chosen at random, as part of the advertisment campaign for @resteembot.
@resteembot is meant to help minnows get noticed by re-steeming their posts


To use the bot, one must follow it for at least 3 hours, and then make a transaction where the memo is the url of the post.
If you want to learn more - read the introduction post of @resteembot.
If you want help spread the word - read the advertisment program post.


Steem ON!

Congratulations @theonlywayisup! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of comments

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Coin Marketplace

STEEM 0.27
TRX 0.13
JST 0.031
BTC 61745.50
ETH 2898.66
USDT 1.00
SBD 3.61