简体   繁体   English

获取SMS日志并插入数据库Twilio帐户

[英]Get SMS log and insert into database Twilio account

I am trying to store incoming sms log in Twilio. 我想在Twilio中存储传入的短信日志。 I have also checked APIs given https://support.twilio.com/hc/en-us/articles/223183588-Exporting-SMS-and-Call-Logs in this page but it is downloading csv file and also data is encrypted(non readable). 我还在此页面中检查了https://support.twilio.com/hc/en-us/articles/223183588-Exporting-SMS-and-Call-Logs API,但它正在下载csv文件并且数据也已加密(不可读)。

This is response in csv file "畯摮愭楰⴬⸰㄰唬䑓㜊", in both case using API and using admin dashboard. 这是csv文件“畯摮愭楰唬唬唬唬㜊”中的响应,在这两种情况下都使用API​​和使用管理仪表板。

I am not understanding the reason. 我不明白原因。

Please suggest. 请建议。 在此输入图像描述

I checked this api with my twilio account. 我用我的twilio账户查看了这个api。

This is not the problem of api that is given by twilio, you need to check the encoding of excel or libra office(in case you are using ubuntu). 这不是twilio给出的api的问题,你需要检查excel或libra office的编码(如果你使用的是ubuntu)。


Here is a screenshot of contents of the file I received when clicking the [Export to CSV] button viewed in Notepad++ : 以下是单击在Notepad ++中查看的[导出到CSV]按钮时收到的文件内容的屏幕截图:

在此输入图像描述

This was problem of encoding in my Libra office only, It is working fine after changing that. 这只是我的天秤座办公室的编码问题,改变之后工作正常。 Thanks all for your help. 感谢你的帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM