Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

breqdev/react-twitter-notrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-twitter-notrack

⚠️ Unfortunately, things seem to have stopped working, probably as a result of Twitter improving their bot detection or shutting down their API. There were enough tradeoffs inherent in this project that I don't intend to continue maintaining it. Thus, it is no longer usable.


A component library for Twitter widgets built without Twitter's tracking scripts.

import { Tweet } from "react-twitter-notrack"

function App() {
    return (
        <Tweet id="20" apiUrl="https://twitter-proxy.breq.workers.dev">
    )
}

You will need to run a proxy to get around Twitter CORS. Using mine will not work in production!! I've provided the source code for my Cloudflare Worker in src/worker.js.

About

Embed Tweets without including any Twitter tracking scripts.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published