Questions tagged [react-chat-engine]

Chat Engine is a free serverless chat API. react-chat-engine is the React implementation of the ui and integration with Chat Engine

Github

https://github.com/alamorre/react-chat-engine

npm

https://www.npmjs.com/package/react-chat-engine

Syntax

import React from 'react'

import { ChatEngine } from 'react-chat-engine'

export function App() {
  return (
    <ChatEngine
      publicKey={'b75e5bd5-cd84-404c-b820-06feff8c98c0'}
      userName={'john_smith'}
      userSecret={'secret_1234'}
    />
  )
}

UI

enter image description here

22 questions
0
votes
1 answer

I cant install react-chat-engine with npm

I tried installing react-chat-engine with npm but it throws follwing error I guess its telling to install python but is it necessary ? bufferutil@4.0.6 install > node-gyp-build gyp info it worked if it ends with ok…
0
votes
2 answers

Chat Engine API Support Chat via React

I am using Chat Engine io if anyone is familiar with it. It is an API for chat rooms that you can implement into your application. I created an application that contains a support chat where the admin can chat with the email input user. I have…
TimMTech93
  • 9
  • 1
  • 4
0
votes
1 answer

Whats the best way to integrate 2 different react projects?

I Have a huge react project which requires a chat app. I've now already made this chat app using react-chat-engine. Now I want to integrate this chat app with the Main app. I can put it in the same app and route to it sure.. but... I would like to…
0
votes
1 answer

How to make a post request to add users in chat room in react-chat-engine

I'm creating a chat app with react-chat-engine but I don't know how to make a post request to add users in chat room in react-chat-engine. I have referred this link- how to make a post request to create new users in react-chat-engine and now I want…
0
votes
0 answers

Website breaks after deployment after including react-chat-widget

My app breaks during production build when I try to use react-chat-widget widget. When I delete the widget the problem goes away. Here's my App.js: import Navbar from './Navbar' import 'bootstrap/dist/css/bootstrap.min.css'; import…
0
votes
1 answer

console log is stuck in infinite loop

I am making a chat application with React but for some reason, every console.log in my app gets stuck in a loop and sends an endless amount of logs to the console. I'm a little extra confused because I am doing a video tutorial for this app and have…
Casey Cling
  • 401
  • 2
  • 5
  • 15
-1
votes
1 answer

WebSocket connection to 'wss://api.chatengine.io/person_v4/?session_token=st-7b6efb7e-b283-4337-a5f2-a1ab9b471ee0' failed:

i'm working on a chat application using Reactjs and Chat Engine my app is not workin due to this error message : "WebSocket connection to 'wss://api.chatengine.io/person_v4/?session_token=st-7b6efb7e-b283-4337-a5f2-a1ab9b471ee0' failed: ". Thank…
1
2