Eric Eastwood
@MadLittleMods

@DiscordChatbot To be clear, are you replacing <token> and :roomId in your curl request?

The <token> should be replaced by your personal access token at https://developer.gitter.im/apps

DiscordChatbot
@DiscordChatbot
Yes.
(I just removed for brevity)
Eric Eastwood
@MadLittleMods

@DiscordChatbot For reference, I copy pasted your curl command, replaced the <token> and :roomId and it worked fine

Make sure you are replacing the whole token correctly, it should look like this: -H "Authorization: Bearer 52b42a52ed5ab0b3bf051b93" (not a real token)

DiscordChatbot
@DiscordChatbot
Thanks, but that's exactly what I've done. (here is relevent code : )
bot.on("message", message => {
    if(message.author.bot) return;
    let mes = message.content.toString();
    console.log(mes);
    require('child_process').exec(`curl -X POST -i -H "Content-Type: application/json" -H "Accept: application/json" -H "Authorization: Bearer     bed33fb64743859b4a0d0ea1ccc4d41ae884d1e9" "https://api.gitter.im/v1/rooms/603b3c246da037398463dbc4/chatMessages" -d '{"text":${JSON.stringify(mes)}}'`, (a, b, c)=>{console.log(b); console.log("done");});

});
Eric Eastwood
@MadLittleMods
@DiscordChatbot I've just cleared your access token since you just leaked it. You will need to generate another one from https://developer.gitter.im/apps
DiscordChatbot
@DiscordChatbot
Sorry for that.
5 replies
Eric Eastwood
@MadLittleMods

@DiscordChatbot One problem I see is all of the spaces between Bearer and your access token (should be 1 space). I've just tested and that matters but I get a 400 Bad Request

-H "Authorization: Bearer bed33fb64743859b4a0d0ea1ccc4d41ae884d1e9"

DiscordChatbot
@DiscordChatbot
It works now, thanks! \'o'/
Kiran Telukunta
@telukir_gitlab
I know that this gitterHQ/webapp#1752 exists for linking accounts. But after matrix integration what is the best way of merging accounts and also use matrix? is there a solution for merging of accounts?
1 reply
klepp0906
@klepp0906
does an option exist to disable "start with windows" from within the desktop app or do we need to use the task manager?
2 replies
Paul Broadwith
@pauby
I'm trying to ban a user over in our Gitter rooms but despite me doing it, and despite it being shown under activity, the user is still able to post in the rooms. I used the /ban @username command. Is there a limitation to this or a way around it than the user is exploiting?
8 replies
A rainbow surfing cat
@Timed-kitty-cat
@MadLittleMods How do I download Gitter Desktop on a Chromebook?
4 replies
voidtrance
@voidtrance
Hi, I noticed that all of a sudden I am part of a two person conversation that I did not start. However, that conversation does not have a "Leave Room" option, just "Hide Room". How can I get out of it?
5 replies
simanacci
@simanacci
Is their a command/shortcut to set the desktop client to full screen? i.e F11, Ctrl+Something
2 replies
M Rule
@michaelerule
I'd like to lower the volume of the message alert sound for the Gitter desktop app on linux; Is this possible? (a messy hack would be acceptable)
13 replies
Tharindu Weerasinghe
@tharindu-nw
How do I stop getting email notifications?
1 reply
DiscordChatbot
@DiscordChatbot
What is the lastAccessTime of someone in API call of all rooms?
Is that mine accessTime or the other user?
DiscordChatbot
@DiscordChatbot
Never mind, it's mine.
kb1000
@kb1000:matrix.org
[m]
why does the Gitter Badger GH bot not remove its fork after the PR got merged?
1 reply
Alexis Cook
@alexisbcook
is it possible to make a community where: anyone can join, but then the messages within rooms (and the list of users) are only visible to users who have joined the community?
1 reply
blast_hardcheese
@blast_hardcheese:matrix.org
[m]
The matrix integration is excellent, fwiw. Really appreciate that.
Unfortunately, I seem to be locked out of the gitter.im homepage, 429 too many redirects after I clicked the globe icon while in a community.
1 reply
blast_hardcheese
@blast_hardcheese:matrix.org
[m]
Will it be possible to "Publish this room to the public in matrix.org's room directory" gitter.im bridged rooms in the future?
3 replies
A rainbow surfing cat
@Timed-kitty-cat
See my new profile picture?
2 replies
bbblover
@bbblover
The gitter mobile app cannot press \n by pressing return key
1 reply
Btw, I wish gitter support edit/delete message
1 reply
bbblover
@bbblover
Apparently 5 years ago smone ald proposed to make the return key aa newline. However gitter mobile app just didn't change it. Well, I guess it's hopeless now. I was wishing I can type code have fun in group.
Ryanv2
@hackercat:matrix.org
[m]
were there any issues with Gitter<>Matrix integration during 9-10 July? Some messages did not arrive to Matrix channel but are on Gitter
1 reply
Ryanv2
@hackercat:matrix.org
[m]
last 2 messages in https://gitter.im/nektos/act did not appear in matrix channel
Guerro9
@Guerro9
Hello everyone! New too gitter and termux but all of this is very interesting
2 replies
Jeffrey Warren
@jywarren
Hi all, I'm unable to remove a user who has previously violated our code of conduct, "Ha-Pixel67", in the https://gitter.im/publiclab/publiclab room. I'm getting a "success" response from the DELETE request in the dev console when i audit the request
5 replies
Timed-kitty-cat @Timed-kitty-cat is watching TV. He will return in a moment.
Timed-kitty-cat @Timed-kitty-cat has returned! He got bored because the show was about sports and he likes gaming, not sports!
Eduardo
@carliedu
Is there a decent search tool in Gitter?
3 replies
Eduardo
@carliedu
I'm a beginner in ReactPHP technology, a big paradigm breaker (synchronous/asynchronous) for me, who have been programming with PHP for over a decade. As Gitter is the only way to learn more about the technology, I was able to move forward, but I have to say, in a very hectic way. I did find answers on Gitter, but they were by chance. Now I'm questioning the group to launch a forum, for new users (ReactPHP has been gaining adherents). The tendency is to ask the same questions asked in the past. Finding them and their answers on Gitter is a matter of luck. And new developments are emerging with the ReactPHP technology, such as https://framework-x.io/ based on it. Gitter doesn't seem like a solution for new users.
1 reply
AdamChen
@doremichen
hi
1 reply
how to creat new community
1 reply
arok14
@arok14
how to delete people in gitter app?
1 reply
arok14
@arok14
alright.
breakiboy
@breakiboy
hi ppl is there a possibility to use gitter only with local users on a website - or use it without Auth mechanisim - but control their usernames
1 reply
photos
@pavelkolodin_twitter
Hello. Gitter tech question. How does google indexing messages in rooms? Why google see the messages at all? Messages loaded via XHR, you cant index them requesting html. How this does work?
4 replies
photos
@pavelkolodin_twitter
Is google just requesting each room and executes its JS getting last ~50 messages and indexing them each hour? So if you post more than 50msg/hour google doesn't see part of you messages?
photos
@pavelkolodin_twitter
Thomas Grainger
@graingert
hello I'm a member of twisted-org-owners, but I'm unable to create the room for https://github.com/twisted/twisted/
2 replies
Thomas Grainger
@graingert
but now I did, I removed all my cookies signed in and out and it all worked
graingert
@graingert:matrix.org
[m]
Then I signed in again