All Projects → schibsted → Tweet_ui

schibsted / Tweet_ui

Licence: mit
Flutter package to show Tweets from a Twitter API JSON on Android and iOS. Support for Tweets with 1-4 photos, Video, GIFs, hashtags, mentions, symbols, urls, quoted Tweets and retweets.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Tweet ui

Twitter Scraper
Scrape the Twitter Frontend API without authentication.
Stars: ✭ 3,037 (+5974%)
Mutual labels:  tweets
Twitter
Twitter API for Laravel 5.5+, 6.x, 7.x & 8.x
Stars: ✭ 755 (+1410%)
Mutual labels:  tweets
Guffer
Guffer tweets based on a daily schedule
Stars: ✭ 12 (-76%)
Mutual labels:  tweets
Github Wrapped
Take a look back at all the contributions you as an individual made to the open-source community
Stars: ✭ 304 (+508%)
Mutual labels:  tweets
Linqtotwitter
LINQ Provider for the Twitter API (C# Twitter Library)
Stars: ✭ 401 (+702%)
Mutual labels:  tweets
Hbc
A Java HTTP client for consuming Twitter's realtime Streaming API
Stars: ✭ 898 (+1696%)
Mutual labels:  tweets
twitter-analytics-wrapper
A simple Python wrapper to download tweets data from the Twitter Analytics platform. Particularly interesting for the impressions metrics that are unavailable on current Twitter API. Also works for the videos data.
Stars: ✭ 44 (-12%)
Mutual labels:  tweets
Twweet Cli
🐦 Tweet right from your cli without even opening your browser.
Stars: ✭ 47 (-6%)
Mutual labels:  tweets
Tweetscraper
TweetScraper is a simple crawler/spider for Twitter Search without using API
Stars: ✭ 694 (+1288%)
Mutual labels:  tweets
Pytelbot
A playful bot in telegram
Stars: ✭ 12 (-76%)
Mutual labels:  tweets
Covid19 twitter
Covid-19 Twitter dataset for non-commercial research use and pre-processing scripts - under active development
Stars: ✭ 304 (+508%)
Mutual labels:  tweets
Yotter
Youtube and Twitter with privacy.
Stars: ✭ 376 (+652%)
Mutual labels:  tweets
Twitter Get Old Tweets Scraper
A data scraper for retrieving old tweets in Twitter using Python3.
Stars: ✭ 27 (-46%)
Mutual labels:  tweets
React Static Tweets
Extremely fast static renderer for tweets.
Stars: ✭ 278 (+456%)
Mutual labels:  tweets
French Sentiment Analysis Dataset
A collection of over 1.5 Million tweets data translated to French, with their sentiment.
Stars: ✭ 35 (-30%)
Mutual labels:  tweets
archive-explorer-web
Browse your Twitter archive with a friendly, responsive, full experience, and quickly delete the tweets you don't want.
Stars: ✭ 19 (-62%)
Mutual labels:  tweets
Twitter Post Fetcher
Fetch your twitter posts without using the new Twitter 1.1 API. Pure JavaScript! By Jason Mayes
Stars: ✭ 886 (+1672%)
Mutual labels:  tweets
Twitterldatopicmodeling
Uses topic modeling to identify context between follower relationships of Twitter users
Stars: ✭ 48 (-4%)
Mutual labels:  tweets
Twint Search
Explore tweets gathered with Twint with faceted search
Stars: ✭ 42 (-16%)
Mutual labels:  tweets
Tweets
🐦 Tweet every 24 pull request
Stars: ✭ 8 (-84%)
Mutual labels:  tweets

tweet_ui

Flutter Tweet UI - Flutter package that is inspired by twitter-kit-android. Works on iOS and Android.

Getting Started

To use this package add it to the pubspec.yaml file:

tweet_ui: <latest_version>

import it:

import 'package:tweet_ui/tweet_ui.dart';

If you want to show tweets with videos: check the video_player installation site.

finally, create a TweetView from a JSON:

TweetView.fromTweet(
    Tweet.fromRawJson(
        jsonFromTwitterAPI
        // {"created_at": "Mon Nov 12 13:00:38 +0000 2018", "id": 1061967001177018368, ...
    )
);

or a CompactTweetView,

CompactTweetView.fromTweet(
    Tweet.fromRawJson(
        jsonFromTwitterAPI
        // {"created_at": "Mon Nov 12 13:00:38 +0000 2018", "id": 1061967001177018368, ...
    )
);

or a EmbeddedTweetView.

EmbeddedTweetView.fromTweet(
    Tweet.fromRawJson(
        jsonFromTwitterAPI
        // {"created_at": "Mon Nov 12 13:00:38 +0000 2018", "id": 1061967001177018368, ...
    )
  darkMode: true,
)

There is also a special QuoteTweetView that is embedded in a TweetView or a CompactTweetView or a EmbeddedTweetView. This depends if a Tweet has a quoted_status value in the JSON.

What tweet view should I create?

TweetView and CompactTweetView are more customisable, but EmbeddedTweetView looks more modern. Check the screenshots below.

Need more information? Check our wiki pages!

Colors & styling

Custom callbacks

Custom date format

Video player options

Example of supported view and media types:

Standard tweet views

Media type TweetView CompactTweetView EmbeddedTweetView
1 photo img img img
2 photos img img img
3 photos img img img
4 photos img img img
video img img img
GIF img img img

Quoted tweet views

Media type TweetView CompactTweetView EmbeddedTweetView
1 photo img img img
2 photos img img img
3 photos img img img
4 photos img img img
video img img img
GIF img img img

Sample tweets use real-life tweet ids but for example purposes, their content was changed.


Thanks for contributing: dasmikko, jamesblasco, tristan-vrt, daver123, ercadev, ivanjpg, escamoteur

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].