intergram icon indicating copy to clipboard operation
intergram copied to clipboard

How to install?

Open ranrinc opened this issue 5 years ago • 4 comments

Ok so I'm trying my best to install this widget on my own server.

Running MacBookPro as my localhost with NGINX npm 6.9.0 node 11.12.0

  1. git clone https://repository
  2. Go to the clone directory
  3. npm install
  4. npm run build
  5. It create new directory called dist
  6. cp dist to my localhost and trying to run demo.html
  7. After setting up the windows work on demo.html, however it now shown error not found 404
  8. I do edit chat.html too...
Screen Shot 2019-04-11 at 11 11 04 AM

Anyone can help me with this problem?

ranrinc avatar Apr 11 '19 04:04 ranrinc

Hi @ranrinc, did you set window.intergramServer, in the injection script to the path of your server? You have to do it when running locally.

See step 6 here

idoco avatar Apr 11 '19 14:04 idoco

please help

.post('https://api.telegram.org/bot' + process.env.TELEGRAM_TOKEN="9214xxxxxxxx8kgV8M3qyoc" + '/sendMessage')

reedhomix avatar Jun 22 '20 03:06 reedhomix

Hi @reedhomix this token is private (like a password) and gives full permissions to control your bot. Since you published it here, I suggested that you will disable it.

Also, didn't understand your question :)

idoco avatar Jun 22 '20 10:06 idoco

Hi @reedhomix this token is private (like a password) and gives full permissions to control your bot. Since you published it here, I suggested that you will disable it.

Also, didn't understand your question :)

I think it's a fake token... the real token is a bit more elaborated...

@idoco, Could help me? I can not use the live chat widget with the stylish button... it displays only on the first time I open the page. After that, it remains like a chat bar... What am I doing wrong?

natanrufino avatar May 24 '21 20:05 natanrufino