Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Not working #23

Closed
oneHumanInDev opened this issue Oct 4, 2021 · 5 comments
Closed

Not working #23

oneHumanInDev opened this issue Oct 4, 2021 · 5 comments

Comments

@oneHumanInDev
Copy link

There is not enough information of how to implement this chat, also. following your functional component, it still not working useEffect shows as empty in the devtools.

@andrem0
Copy link

andrem0 commented Nov 12, 2021

@oneHumanInDev

import { useEffect } from "react";

function TawkTo() {
  const tawkTo = require("tawkto-react");

  const tawkToPropertyId = "YOUR-ID";

  useEffect(() => {
    tawkTo(tawkToPropertyId);
  }, []);

  return null;
}

export default TawkTo;

@muftisamiullah
Copy link

i get a 404 error on the embed link, most probably tawk.to has changed the embed link

@daniego
Copy link

daniego commented Nov 26, 2021

@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

@muftisamiullah
Copy link

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

@ghost
Copy link

ghost commented Jan 1, 2022

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.

@ghost ghost closed this as completed Jan 1, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants