Questions tagged [chat]

0

votes
0

answer
5

Views

Chat Programm with C# via IP-Address. Connecting two Computers in different Networks

I'm writing a Chat Programm for me and my friend in C# and I don't know how to connect my Computer to a Computer in a different Network. The Code Works fine in my Home Network between two Computers but between two different Networks it doesn't work. I know why it doesn't work, I mean it makes sense,...
Eric de la Fuente
1

votes
1

answer
678

Views

django create instant messaging

I'm building a django website and would like a to add an instant messaging feature to my userbase. What are some good ways to go about implementing this functionality? Does Channels and websockets have anything to do with this? Scratch that... so I'm looking at Django channels and it looks like a wa...
Micah Pearce
1

votes
3

answer
89

Views

Create carousel cards as in fb messenger in react js

Am developing a chat widget like intercom widget in react js and I want to add carousel cards component, as in facebook messenger. On mobile, when user swipe one card, the next one should come and center itself, and on the web, there should be a left and right button, which when clicked show respec...
Jerin A Mathews
1

votes
1

answer
30

Views

How can i show app name in place of twilio generated number in my sms

I am using Twilio programmable SMS, so when I receive a message it shows +123123 like some random number so is there any way that I can show my custom app name instead of Twilio generated id.I also searched for it but not get an answer.
Muhammad Shareyar
1

votes
0

answer
203

Views

Websocket: set manual id for client at connection

I want to realize a chat one to one with websocket. My client is a Xamarin Forms app (Android, iOs, Uwp) and backend is Nodejs. I can't use Socket.io because there's no well working nuget I can't use Xmpp protocol because there's no well working/update nuget I can't use Mqtt because is one to many...
Bluex
1

votes
0

answer
354

Views

Embed Facebook Customer Chat Plugin without creating a Facebook app

It seems in order to embed Facebook Customer Chat Plugin, dev has to create a custom Facebook app to act as hook receiver to be called from the embed. The flow is somehow this way: Embed on browser ---custom app id,page id---> Custom web server ---page access token,text response--> Facebook Messenge...
datdinhquoc
1

votes
1

answer
6.8k

Views

how do I bind a bot to a specific chat on discord

I have a couple of bots running on the same server and they are responding to the same messages. I want to bind each bot to different chat channel so they would only respond to the messages meant for certain bots.
N01SE Productions
1

votes
1

answer
250

Views

Observable fired twice when firebase ref ordered by timestamp

I am making a chat app using firebase. I added an observable when there are new message to the chat. The prb I have is that the messages are shown twice when I order the messages by timestamp, even though the save message functionality runs on time only. Here is the observable: return new Observable...
Beslinda N.
1

votes
0

answer
135

Views

TwilioChatClient.chatClient doesn't execute

I have to debug not my project and I see, that TwilioChatClient.chatClient method doesn't execute and I receive memory read failed error EXC_BAD_ACCESS (code=1, address=0x0). I saw similar topic, where advised to update Twilio, but it is installed via framework and I didn't find the instruction how...
Sokolova Natalia
1

votes
1

answer
252

Views

Twilio - unable to get and delete private channels

I have create some private channels.During chat,I left the channel after chat finished.But now I am not able to get and delete those private channels. getSubscribedChannels not returning the list of those private channels. Also,If I do login in Twilio account,DELETE button also not appearing when I...
RIYAJ KHAN
1

votes
1

answer
141

Views

Exception in authenticated listener while Sending offline message after re connection with Smack 4.2

Suppose A user lost his connection while chatting, but he sent some messages. After a successful reconnection, Chatting App needs to send unsent messages. I used this code for sending message configured in Smack Connection Configuration private void sendMessage(String body, String toJid) throws Xmp...
gamerrishad
1

votes
0

answer
61

Views

Can rocket.chat be server on 2 interfaces at the same time?

here is the situation, we have a domain, let's say example.com I have added a subdomain to the dns, chat.example.com I have modified the Caddyfile inserting http://chat.example.com (it works fine) However, rocket.chat is hosted on our local server, and it is behind the router provided by our ISP, wh...
Pampa Nello
1

votes
0

answer
41

Views

MongoDB aggregated query for conversation messages

I am working on chat and I want to get conversations order by created date and messages order by created in a single array of object. This query gets conversation with messages of limit 10 order by date. db.models.conversations.aggregate([ { $match: { 'participants': Number(uid) } }, { $sort: { 'cre...
Saad Ahmed
1

votes
0

answer
112

Views

Hosting bot on Openshift using Microsoft bot framework Nodejs SDK with proxy

I have a problem when hosting my bot on OpenShift (OpenShift Container Platform) registered with the Bot Channels Registration on Azure. I am using the Botbuilder SDK Nodejs, and the Openshift is behind a corporate proxy. I've tried to set a up a global tunnel to force all HTTP requests to go thro...
filipyoo
1

votes
0

answer
319

Views

Change Facebook Customer Chat Plugin Icon to a Custom One

Any ideas on how to change Facebook Customer Chat Plugin icon to a custom one? The whole Facebook customer chat is loaded over iframe, so it seems there is not much to do there, I've tried placing my own icon on top of it and use 'pointer-events: none;' so the original Facebook icon would be clicked...
butaminas
1

votes
0

answer
325

Views

Hangouts Chat Bot - Thread message posting above the thread's last message

I created a simple hangout's chat bot. When posting back to the thread, when setting the ThreadId, the message appears ABOVE the last message instead of below. If I remove the threadid it posts as a normal message below the thread. I'm not sure what I'm missing or even why the service would let me...
lucuma
1

votes
1

answer
202

Views

failed to send php post request but succeed with curl

I am trying to send a php post request to my rocket chat server, I was able to do that using curl from command line by using this command from rocket chat api: curl -H 'X-Auth-Token: xxxxx' -H 'X-User-Id: yyyyy' -H 'Content-type:application/json' http://example:3000/api/v1/chat.postMessage -d...
Mohamed Elloumi
1

votes
0

answer
123

Views

How to tailor an NLTK chatbot's response using macro variables (Python)

I've been playing around with the NLTK package in Python, in particular nltk.chat.util. I have been able to create a few simple chatbots by defining my pairs e.g. if you say 'Hi' the chatbot will either say 'Hey' or 'Hello' back: pairs = ( (r'Hi', ('Hey', 'Hello') ) ) A useful feature here is that...
Grace O'Halloran
1

votes
0

answer
38

Views

No data received in simple socket chat

i am trying to write a simple client-server one-way chat (just for learning purpose) but i am stuck at the very beginning. These are codes for both server and client Server: #include /* for printf() and fprintf() */ #include /* for socket(), bind(), and connect() */ #include /* for sockadd...
MadMax0
1

votes
0

answer
314

Views

Incoming webhook not working in rocket chat

I created new incoming webhook using rocket chat. > curl -X POST -H 'Content-Type: application/json' --data > '{'username':'Ship Reporter','text':'Example > message','attachments':[{'title':'Rocket.Chat','title_link':'https://rocket.chat','text':'Rocket.Chat, > the best open source > chat','image_ur...
1

votes
0

answer
42

Views

JS user input function

So i am running a online chat function using js that currently sends and receives messages and has a user count in the top right corner that updates when a user leaves or joins. I need help with making a js function that you can submit a name to and it saves it and prints it alongside your own mess...
JackGab
1

votes
0

answer
27

Views

Can I implement VoIP for XMPPFramework

I have implemented iOS chat app with Openfire and XMPPFramework combination. it working fine when app in Active(when App Active & Background still 10mins) but when app in Inactive(After 10mins) and Suspended(Not running and terminated by the user) state not working at all. I have two approaches, whi...
1

votes
1

answer
41

Views

React-Native Chat Programme Create a Whatsup Group

I am new in React-Native and I found a chat programme in github I created my own project and added some new codes to this programme But I want to this: I have a topic for example my topic name is WARS AND PEACE and 3 different groups talk about this topic How can I create this different groups ? Ho...
j.doe
1

votes
0

answer
77

Views

How to ensure WebSocket send notifications to certain connected clients in Node.js?

Let's say I am building a chat app, and it needs to support switching channel feature. I have two users in channel 1 chatting and other 2 users in channel 2 chatting. Clients are getting updated via WebSocket. The problem is that users in channel 1 also get Websocket notifications when other users a...
Zico Deng
1

votes
0

answer
88

Views

Hangouts chat bot output text/line limit

Is there any line limit for displaying outputs in the chat bot using Hangouts API? I have been adding lines and it stopped displaying after a certain limit in the output, Any thoughts ?
Prajakta Yerpude
1

votes
0

answer
78

Views

client id not not event exception just after zoho salesiq xhr call

I have a React Project and encountered this exception: client id not not event Raw: null: client id not not event at ? (/teams/5ace3d23fd5dc3053dd04709:0:0) I am using the zoho salesiq (chat widget) and the exception is triggered just after an xhr call to zoho: GET https://salesiq.zoho.com/getembedd...
Nestor Tobon
1

votes
1

answer
285

Views

How to display messages received from other users using Laravel

I am working on a messaging functionality on my website between two users and I have managed to make the messaging system work quite alright. But I have a little issue which I can't find a solution to it. I want to be able to show, A list of all message received from other users when the user clicks...
Douggy Budget
1

votes
1

answer
121

Views

Can't use Atlas DB in Rocketchat configuration

I am trying to change my rocket chat to work with an Atlas DB, which is not sharded, but has a replica set of 3 nodes. The rocket chat is installed on my EC2, and I don't understand how to access it through the rocketchat configuration. Here's the relevant part in the Rocket chat's configuration fil...
Yehuda
1

votes
6

answer
263

Views

How to scroll to the last message sent when viewdidload? in swift 4

Currently, I have tried func scrollToBottom(){ DispatchQueue.global(qos: .background).async { let indexPath = IndexPath(item: self,messageArrat.count-1, section: 0) self.messageTableView.scrollToRow(at: indexPath,at:.bottom,animated:true) } } However it does not seem to work, outputting Thread 16:...
1

votes
0

answer
98

Views

Twilio Chat Angular JS - 403 forbidden error

Integrated a Chat in one of my application. After some time of using the application, the chat API returns forbidden - 403 error unexpectedly. How can I resolve this issue? I need to publish the application to live.
Subramanya
1

votes
1

answer
26

Views

How do I make my chat application continuous?

I have to make a chat application that is able to chat continuously back and forth between the server and the client. I have it so that the server and the client can send one message at a time, but I am not sure how to edit my code so that you can send multiple messages at a time. Also, I need to be...
twjones01
1

votes
0

answer
28

Views

How to identify a socket node js uniquely

How can I identify the connection I`m getting conn undefined error var shortid = require('shortid'); var server = net.createServer(); var shortid = require('shortid'); var server = net.createServer(); server.on('connection', function(conn) { conn.id = shortid.generate(); conn.on('data', function(dat...
1

votes
0

answer
53

Views

React Native chat (Front-end) with Faye rails (Back-end)

I have rails 4 app which uses Faye for chat messaging. Now i have implemented react native app and want to use same chat feature(backend) with react native, any solution?
1

votes
1

answer
34

Views

Chatbot on iphone - Resources/apps/service to provide front-end?

I'm currently trying to make an app (or web-based program) which is a chatbot. Is any open-source code or an app or a service that would allow me to just focus on the back end of the program so that I only need to handle the input from the user and produce an output as a response in the chat?
Mo Salah
1

votes
0

answer
95

Views

Twilio Chat JavaScript SDK getChannelByUniqueName now returns 403 forbidden

Yesterday, I was able to create and switch between multiple private channels using the following code. Everything was working perfectly. I use a Twilio paid production account. function setChannel() { // Retrieve private channel $scope.client.getChannelByUniqueName($scope.channelName).then(channel =...
1

votes
1

answer
211

Views

xmpp file upload using smack

i am unable to upload file on xmpp using smack client android. slot.puturl() returns 'https://localhost:7443/httpfileupload/27c97df7-dbbf-47ff-b19a-3ac624e51cf0/1.jpg' HttpFileUploadManager manager = HttpFileUploadManager.getInstanceFor(mConnection); try { Slot slot = manager.requestSlot(path, 10000...
Abdul
1

votes
1

answer
418

Views

Rocket.Chat automatic login

We picked Rocket.Chat as an off-the-shelve open-source product for our team to communicate. All we want is to be able to do the login part behind the scenes, so when the user goes to the Rocket.Chat URL (or any shortcut/routing URL or whatever) he will be already logged in. The usernames and passwor...
Hagay Myr
1

votes
0

answer
41

Views

I am writing chat program using windows 10 and C (visual studio 2015)

I am writing multi clients chat program using Windows 10 and C (Visual Studio 2015). When I excute two client files. It seems that it works properly but after I terminate first client file and re-execute it then one of two clients can't receive messages from server. I don't know what is wrong with i...
allentando
1

votes
2

answer
147

Views

how to upload images on heroku app using swift

Hello I am new in the swift . Right now I am dealing with the chat app which is more Challenging to me.Now i have successfully login and register working on app. I am using heroku to upload my code which help me to insert it into the database and help to retrive from the database(created service so...
Nayan Jariwala
1

votes
0

answer
298

Views

How to use AIML with Node.js?

How do I use AIML (Artificial Intelligence Markup Language) with Node.js? I am building a chatbot using JavaScript and Node.js for which I need AIML. How do i use it? I have tried using the AIML Interpreter but I am facing problems while accessing the AIML libraries and tags in my Server.js file.Err...

View additional questions