All Projects → lluiscamino → Fake Tweet

lluiscamino / Fake Tweet

Licence: mit
Tweet React Component

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Fake Tweet

Spark Twitter Stream Example
"Sentiment analysis" on a live Twitter feed with Apache Spark and Apache Bahir
Stars: ✭ 73 (-14.12%)
Mutual labels:  twitter
Chirrapp
Chirr App splits text into tweets and posts it as a thread
Stars: ✭ 75 (-11.76%)
Mutual labels:  twitter
Sharexin
ShareX for Linux and BSD
Stars: ✭ 79 (-7.06%)
Mutual labels:  twitter
React Payment Card Component
💳 A modern credit card component for React
Stars: ✭ 74 (-12.94%)
Mutual labels:  react-component
Svg Loaders React
React adaptation of the SVG Loaders library by Sam Herbert
Stars: ✭ 75 (-11.76%)
Mutual labels:  react-component
Twitter media downloader
Twitter media downloader.
Stars: ✭ 75 (-11.76%)
Mutual labels:  twitter
Double pendulum
Animations of random double pendulums
Stars: ✭ 73 (-14.12%)
Mutual labels:  twitter
Clutter
Fully distributed twitter built on holochain
Stars: ✭ 84 (-1.18%)
Mutual labels:  twitter
Refluent
A chainable & composable alternative React component API.
Stars: ✭ 75 (-11.76%)
Mutual labels:  react-component
Do more with twitter data
Tutorials for getting the most out of Twitter data.
Stars: ✭ 78 (-8.24%)
Mutual labels:  twitter
Network Avatar Picker
A npm module that returns user's social network avatar. Supported providers: facebook, instagram, twitter, tumblr, vimeo, github, youtube and gmail
Stars: ✭ 74 (-12.94%)
Mutual labels:  twitter
Uskin
A front-end framework aims at developing web projects based on CSS3 and provides common components.
Stars: ✭ 74 (-12.94%)
Mutual labels:  react-component
Reactjs Popup
React Popup Component - Modals,Tooltips and Menus —  All in one
Stars: ✭ 1,211 (+1324.71%)
Mutual labels:  react-component
Echofon Firefox Unofficial
Echofon Unofficial - maintained version of Echofon: full featured, super clean Twitter app for Firefox.
Stars: ✭ 73 (-14.12%)
Mutual labels:  twitter
Spam Bot 3000
Social media research and promotion, semi-autonomous CLI bot
Stars: ✭ 79 (-7.06%)
Mutual labels:  twitter
Sarcasm Detection
Detecting Sarcasm on Twitter using both traditonal machine learning and deep learning techniques.
Stars: ✭ 73 (-14.12%)
Mutual labels:  twitter
Tweetview
This project is an example Android Twitter feed reader app from the Codehenge Android development tutorials.
Stars: ✭ 75 (-11.76%)
Mutual labels:  twitter
Orange3 Text
🍊 📄 Text Mining add-on for Orange3
Stars: ✭ 83 (-2.35%)
Mutual labels:  twitter
Social Login Helper Deprecated
A simple android library to easily implement social login into your android project
Stars: ✭ 81 (-4.71%)
Mutual labels:  twitter
Userscripts
Userscripts for Greasemonkey, Tampermonkey etc.
Stars: ✭ 78 (-8.24%)
Mutual labels:  twitter

Fake Tweet

Tweet React component. See a live demo.

Example

Fake tweet example

Installation

npm i fake-tweet

Usage

To use the fake-tweet component in your app after having installed it, import the component and its stylesheet:

import React from "react";
import FakeTweet from "fake-tweet";
import "fake-tweet/build/index.css";

function App() {
  const config = {
    user: {
      nickname: "twitter",
      name: "Twitter",
      avatar: "avatar.png",
      verified: true,
      locked: false
    },
    display: "default",
    text: "This is a fake tweet",
    image: "",
    date: "3:32 PM · Feb 14, 1997",
    app: "Twitter for iPhone",
    retweets: 32000,
    quotedTweets: 100,
    likes: 12700
  };
  return (
    <div className="App">
      <FakeTweet config={config} />
    </div>
  );
}

export default App;

You also need to pass a config object to the component with the following properties:

  • User:
    • Nickname: Twitter @username
    • Name
    • Avatar: Twitter avatar URL
    • Verified: Set to true to include the verified icon
    • Locked: Set to true to include the private account icon
  • Display: Twitter theme (default, dim or lightsout)
  • Text: The text the tweet will display
  • Image (optional): You can include an image to the tweet
  • Date: A string that represents a date
  • App: For example, "Twitter for iPhone"
  • Retweets: Number of retweets
  • Quoted Tweets: Number of quoted tweets
  • Likes: Number of likes
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].