Comments (5)
import { useEffect } from "react";
function TawkTo() {
const tawkTo = require("tawkto-react");
const tawkToPropertyId = "YOUR-ID";
useEffect(() => {
tawkTo(tawkToPropertyId);
}, []);
return null;
}
export default TawkTo;
from tawkto-react.
i get a 404 error on the embed link, most probably tawk.to has changed the embed link
from tawkto-react.
@muftisamiullah I was experiencing the same 404 as you once I realised that I was using the wrong tawkToKey
.
I my case I was using the Javascript API KEY
instead of the correct one available from the "Chat widget" panel
from tawkto-react.
I couldn't find the issue i was using the correct key only, i ended up uninstalling this package and doing everything on my own and it was so simple
from tawkto-react.
The new package update and the README should be clear enough to use.
I also indicated how to get your productID and tawkID from the panel in an image. With the correct credentials, this 404 error should not occur.
from tawkto-react.
Related Issues (20)
- help me in react tsx HOT 2
- not working HOT 3
- How can I use JavaScript API using this package? HOT 2
- FEATURE Request: Need unsubscribe method HOT 2
- Not working HOT 1
- Can't find documen variable HOT 1
- Error when trying to install on react 17.0.2 HOT 1
- Error when trying to install on react@"^17.0.1" HOT 1
- Incompatible with react@17x HOT 2
- Doesn't work HOT 1
- Support for the experimental syntax 'classPrivateProperties' isn't currently enabled (15:23): HOT 8
- ./node_modules/tawkto-react/src/index.js Module parse failed: Unexpected character '#' (15:22) HOT 1
- Does this work on local? HOT 2
- Style the TawkTo Iframe HOT 2
- Unable to add visitor info HOT 3
- Feature Request: Add TypeScript support HOT 3
- Supporting react 18 HOT 2
- Supporting nextjs
- typescript support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tawkto-react.