Twilio - 用于向用户发送短信通知 - 还有其他人感兴趣吗?

Continuing the discussion from Plugin to send 'private' SMS or Instant Messages from Categories:

Has anyone tried this yet?

I’m really interested in this as a way to improve user engagement in our forums. I am very concerned about the fact that the vast majority of our users are on Gmail (which filters our forum notifications into the rarely-reviewed bucket of “forum” messages,and Most of our users are in their 20s and so tend to use texting over email, - so I don’t think most of our users ever really get any notifications.

I’d love to have an interface / mechanism to send very occasional notifications (you don’t want to flood your users with notifications as we do with email) and have a cap on it also for cost reasons (since you’re paying Twilio/SMS gateway fees).

Anyone else out there doing this, or have a recognized need for this?

6 个赞

I have implemented this for one of my Discourse instances as a simple hacky proof-of-concept, just using Discourse webhooks, Zapier, and Twilio.

I’m starting now to think about ways to build on this and create a SMS Discourse plugin, some particular challenges include how to manage and prevent spam, and misuse, and notification rate limiting. But it’s interesting and doable.

Marcus

6 个赞

Would love to see SMS support for account activation and authentication/password resets.

Could include invites and shares as option if ok with that added expense of users generating those messages.

Other notifications could be pushed via the mobile app. So basically kill email; doesn’t scale.

Nextdoor seems to support SMS well, but it’s a heavily ad supported or paid/sponsored platform.

2 个赞

I’d like to see it also for periodic summary notifications - to try to pull people back to the forum. I suspect most users are like me - using gmail for email, and not frequently checking their “forum” category that gmail sorts the email into.

I think an SMS system would be much better at pulling users back to the forum.

4 个赞

Pulled from mothballs. Any traction on this?

Well, there’s this:

5 个赞

I have a simple Sinatra-based webhook responder here which I use to send SMS in response to posts in a specific ‘alerting’ Category. It’s nothing fancy but it’s been working for 2 years without problems. We use a different script running on the Heroku Scheduler to test the alerting function once weekly.

The twilio-notifications repo linked in the preceding post is much more like what I would write if I was doing it again now. It would be good to have a configurable Twilio plugin, with both Admin interface for setup and User interface for opt-in/out of SMS notifications. If there is interest in developing this then perhaps a couple of customers could pool resources.

6 个赞

我很感兴趣 :slight_smile:

1 个赞

如果有兴趣,我们可以考虑将其更新为一个完整的 Discourse 插件,并使其更具通用性。这需要注入一些资金。

这个项目有活跃的资助链接吗?

2 个赞

我有兴趣并愿意支持一个插件,以允许通过短信与用户连接。

2 个赞

感谢你们对此感兴趣 @marianord @ufukayyildiz

我们目前还没有为此发起众筹,之前的工作是由一家名为 Digital Health Intelligence 的公司资助完成的,我为他们运营一个论坛,他们需要这项功能。目前该项目是开源且免费提供的,但它并不是一个简洁易用的插件,而是一段在 Discourse 外部运行的 Ruby 代码。这一切都是在我还不知道如何编写插件之前完成的。(我现在其实也不太清楚如何编写插件)

不过我在想,Pavilion 是否可以通过 @angus @Ellibereth @merefield @fzngagan 与我一起探讨开发一个插件所需的条件,然后我们可以确定一个众筹目标金额,以便实现 Discourse SMS 插件的开发。

6 个赞

通过 Twilio 发送短信的费用是多少?有人知道吗?我很好奇,因为电子邮件几乎是免费的。

1 个赞

这因国家而异。

在美国,号码每月收费 1 美元,每条短信收费 0.0075 美元。US Cellular 额外收取 0.0025 美元,而 Verizon 则额外收取 0.005 美元。

英国的费用更高,每条短信为 0.04 美元。

我曾与几位客户合作,他们起初对用短信取代电子邮件表现出兴趣,但在看到定价后便改变了想法——除非每月发送量超过 500 万条(3.75 万美元),否则没有任何数量折扣。

5 个赞

新西兰的情况恐怕正好相反——每条 0.10 美元,基本上让人难以承受。在本地,类似服务每条只需 0.07 美元,除非你与某人有特别优惠协议。

3 个赞

此结构在 Chat IntegrationOneSignal 插件 中已部分存在。

我认为,如果要构建此功能,我会开发一个类似于 Chat Integration 插件的通用通知插件,以支持多种 API。这样,你就可以使用任何短信集成服务,也可用于类似场景,例如在 RN 白标应用中替代 OneSignal。

@pmusaraj 这里可能存在交叉点 :slight_smile:

6 个赞

我对 Twilio 集成很感兴趣,如果有人已经成功实现的话。如果这里的工作方式如此,我愿意出资支持开发。

5 个赞

有人已经成功将类似功能作为插件运行了吗?

2 个赞

@nathank 请私信我。

1 个赞

正在跟进,看看是否有与短信服务提供商集成的更新。

1 个赞