Questions tagged [viber-api]

Questions related to Viber HTTP REST API.

46 questions
9
votes
2 answers

Viber keeps putting clicked button url into conversation

I am making a chat bot app that searches for flights. When a flight is found, I return a carousel with buttons and I want user to be redirected to the website after clicking on them. It works, only problem is that clicking button puts the URL into…
Milan Halada
  • 1,943
  • 18
  • 28
5
votes
0 answers

Viber: how to delete message with API

How can I delete a message sent with my bot to user? If the message contains buttons it would affect them? Do they disappear? What is the best way to remove buttons?
Eugene Lisitsky
  • 12,113
  • 5
  • 38
  • 59
4
votes
1 answer

Getting wrong image out from Viber's keyboard button's Image

I am creating a Viber bot via Viber REST API using PHP. I am trying to understand how to create the Keyboard design set by Viber but to no avail. How to make it look like the same from the example provided by Viber's keyboard design? [ [ …
MiniDr
  • 191
  • 1
  • 11
4
votes
1 answer

Why I got user name Subscriber at Viber chat API?

When users subscribe to my Viber PA I make a request to https://chatapi.viber.com/pa/get_user_details And get back strange user.name [user] => Array ( [id] => *** [name] => Subscriber [avatar] =>…
Pavel Zorin
  • 331
  • 6
  • 17
4
votes
2 answers

How to make deep link for Viber that will redirect to specific number on mobile phones

I need a deep link that will redirect to specific number on Viber. I have for now this, but it's working as it should on computer, not phones. Viber I saw this…
Goran Sovilj
  • 77
  • 1
  • 9
3
votes
0 answers

Subscribe and communication with Viber Bot

I followed the Viber Python Bot Tutorial to create a bot: https://developers.viber.com/docs/api/python-bot-api/ I have deployed a local server using Ngrok, following this…
stavroszaf
  • 51
  • 4
3
votes
1 answer

Viber bot: problem with opening images on iPhone

The image is successfully opened on Viber Android, Viber Macbook, Viber Windows, but the image does not open on an iPhone of any model. Link: https://loyalty.aptekanizkihcen.ua/binary/img/01EBCE62A36084CE3DF9E5AB2FD796E03567973D.jpg
3
votes
1 answer

UnhandledPromiseRejectionWarning: Unhandled promise rejection/

I use an example from the viber site but I get this error. What could be wrong? Thanks! https://developers.viber.com/blog/2017/05/24/test-your-bots-locally (node:11512) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error…
Sined
  • 31
  • 2
3
votes
1 answer

Is there a way to generate URLs for local files?

I'm trying to create a Viber chat-bot that is able to send some pictures. I am required to send URL of an image as a parameter, but the images I want to send are on my desktop and I do not know how to get their URLs. I tried using requests: image =…
2
votes
0 answers

How to send message with viber bot to group chat?

Im trying to make a vibe bot that will only send announcements to group of people. The bot will not respond or interact with anyone, as its only and primary task is sending given text as an announcement to a group of people in the same chat.

 I…
2
votes
0 answers

Bot API Viber buttons for choices

Do you how can I change the color for the choice buttons in the Bot for a viber integration? It seems that with viber it can't be done or I couldn't find it yet :). Let me know if you have any ideas to try it out. Thanks, Cosmin
2
votes
2 answers

How do I make the corners of a button rounded? Viber bot

{ "viber": { "type": "keyboard", "inputFieldState": "hidden", "buttons": [ { "ActionBody": "/test", "ActionType": "reply", "BgColor": "#FF0000", "Frame.CornerRadius": "4", …
Dorogan
  • 21
  • 2
2
votes
1 answer

How to send message to not subscribed user in Viber

Is this possible to send message via Viber Api to not subscribed user by means of Viber Bot. I can't find any info on that in docs: https://developers.viber.com/docs/api/rest-bot-api/#send-message. But i constantly receive message from companies…
2
votes
1 answer

are there any ways to send viber branded/buisness messages without partners api?

does viber api allows you any way to send branded messages throw your application and get answers without partners mentioned on this page https://info.viber.com/Viber-Business-Messages-Partners.html ? Or maybe is it possible to make your bot…
2
votes
2 answers

How to send markdown or HTML message via Viber bot

Is it possible to send formatted message from Viber Bot with Markdown or HTML tags? If yes - then how? What attributes to specify?
wowkin2
  • 5,895
  • 5
  • 23
  • 66
1
2 3 4