Download JivoSite dialogs via API
3r314. 3r3398. 3r3105. 3r3398. 3r3105. As a solution, I took a bottle of vermouth, a couple of evenings and an API, which JivoSite offers. It turned out that it was quite easy to get all the chats via web hooks, the main thing is to set them up correctly. 3r3398. 3r3105. 3r3398. 3r3105. I decided not to zhlobstovovat and arrange everything as a web service on symfony, which everyone could use. If you are a representative of a bank or another company where 100% security is required - please in a personal, I will give you all the sources, you can easily raise such a service. 3r3398. 3r3105. 3r3398. 3r3105. 3r373. Project goal: 3r374. 3r3398. 3r3105.
3r3105. 3r3386. Solve your problem with chat rooms.
3r3105. 3r3386. To show that it is possible to put together a very convenient integration with JivoSite on your knee.
3r3105.
3r3398. 3r3105. 3r3398. 3r3105. 3r373. How the service works:
3r3398. 3r3105.
3r3105. 3r3386. Sign in
3r3105. 3r3386. Create the channel you need - get the key API
3r3105. 3r3386. In your personal JivoSite account, specify the key API
3r3105. 3r3386. After that, all conversations with the chat_finished mark (i.e. completed chats) are saved in the service.
3r3105. 3r3386. You can select the period you need by timestamp and get all the dialogues in a single document in PDF format.
3r3105. 3r3386. PDF generation is implemented using the dompdf library, so you can be sure that the data is not sent to any third service.
3r3105.
3r3398. 3r3105. 3r3398. 3r3105. 3r373. Implementation of the service:
3r3398. 3r3105. At the moment, the service works very straightforward:
3r3105. 3r3398. 3r3105.
3r3105. 3r3386. collects plain json and saves it to the base
3r3105. 3r3386. parses plain json into subgroups of information for subsequent generation in PDF
3r3105.
3r3398. 3r3105. This is quite enough at the initial stage. In the future, it is planned to add queues so that the process of accepting JSON and PDF disassembly is carried out more adequately. 3r3398. 3r3105. 3r3398. 3r3105. Service: petmark.ru
3r3105. 3r3398. 3r3105. There is an interest to make chatting more intelligent. If you are interested too, please report!
3r3105. 3r3105.
! function (e) {function t (t, n) {if (! (n in e)) {for (var r, a = e.document, i = a.scripts, o = i.length; o-- ;) if (-1! == i[o].src.indexOf (t)) {r = i[o]; break} if (! r) {r = a.createElement ("script"), r.type = "text /jаvascript", r.async =! ? r.defer =! ? r.src = t, r.charset = "UTF-8"; var d = function () {var e = a.getElementsByTagName ("script")[0]; e.parentNode.insertBefore (r, e)}; "[object Opera]" == e.opera? a.addEventListener? a.addEventListener ("DOMContentLoaded", d,! 1): e.attachEvent ("onload", d ): d ()}}} t ("//mediator.mail.ru/script/2820404/"""_mediator") () (); 3r3104. 3r3105.
It may be interesting
weber
Author10-10-2018, 14:34
Publication DateDevelopment / Programming
Category- Comments: 1
- Views: 403
Here we introduce our top coupons that will help you for online shopping at discountable prices.Revounts bring you the best deals that slash the bills.If you are intrested in online shopping and want to save your savings then visit our site for best experience.