This react library converts plain text tweets into real tweets. The library is responsible for parsing the tweets and handles transform mention (@monAmiTweetos), hashtags (#RTplz) and URLs inserted in the tweet in functional URLs. This library was created based on jquery-tweet-parser

Install react-tweet-parser

npm install react-tweet-parser --save

Import TweetParser

import TweetParser from 'react-tweet-parser';


  1. urlClass - CSS class for URL
  2. userClass - CSS class for user links
  3. hashtagClass - CSS class for twitter user links
  4. target - link target attribute value (exp : _blank)
  5. searchWithHashtags - It will give q parameter 
  6. parseUsers - Parser users boolean flag 
  7. parseUrls - Parse urls boolean flag
  8. parseHashtags - Parse hashtags boolean flag


Use TweetParser component like below
         urlClass = {"myUrlClass"}
         userClass = {"myUserClass"}
        >plain tweet text</TweetParser>


  1. I found a lot of interesting information here. A really good post, very thankful and hopeful that you will write many more posts like this one.
    rolling sky

  2. What do old-age broadcast communications networks have to do with your brain? Everything, Best Essay Writing Service, on the off chance that you notice this business exercise in your life.

  3. We make sure that our employees have considerable experience in the field of Pay Someone To Write My Paper Cheap so that we can provide our clients with the best content. Also, since they come from various fields and backgrounds, we can produce content for you on almost any topic. Just let us know what you require, and we will get working on it right away!



Follow this blog by Email

Popular Posts