# Notifications via Facebook

**URL:** <https://meta.discourse.org/t/notifications-via-facebook/67338>\
**Category:** Feature\
**Created:** [2 Agosto 2017, 5:51pm UTC](https://meta.discourse.org/t/notifications-via-facebook/67338 "2017-08-02T17:51:43Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![MakaryGo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/makarygo/32/187426_2.png) [@MakaryGo](https://meta.discourse.org/u/MakaryGo)\
**Post date:** [2 Agosto 2017, 5:51pm UTC](https://meta.discourse.org/t/notifications-via-facebook/67338/1 "2017-08-02T17:51:43Z")

</div>

Well, actually I have some possibly good news 😉 As I’m kind of obsessed with the idea of delivering notifications to my community users via their Facebook (through Messenger and/or notifications), I’m in the middle of deconstructing those nightmarish API procedures.  
Unfortunately, I’m not a Ruby developer, so I won’t be able to create any plugin myself. I can only provide ‘bare’ algorythm or pseudocode, but to reforge it into a functional Discourse plugin (or plugins perhaps?) I would need help of a qualified programmer.

### Why do I believe we need this as a community?

1. We have use cases (I believe) of moving communities from fb groups into :discourse: , and enabling a mechanism to recieve :discourse: notifications on a channel that they are used to would smoothen this transitions a lot.
2. Facebook is a threat to other online communities as it tends to ‘suck out’ any online activity. People are active on FB virtually 24/7 and because of that the’re not very eager to move to any external services when they feel that all their needs - in this case _communication_ needs - are already well served there. Providing them with :discourse: notifications in spaces where they are _already_ present, could be a way to fight that tendency, since the user would receive ‘pings’ from their :discourse: based community in exactly the same way as the rest of their daily communication.
3. 

### Regarding issues mentioned above

> [@Discourse Chat Integrations](https://meta.discourse.org/t/discourse-chat-integrations/66522/12):
>
> Issue 1: I can confirm @MakaryGo was not exaggerating here! The number of steps required to set up an integration is huge compared to that of slack/telegram etc. There is then the further complication that every Discourse admin would have to get their app approved by facebook before it can actually be used. I didn’t get that far so can’t comment on how strict they are.

**It is doable.** I’m positive for this very moment, after digging into Messenger API that we can move to sending notifications with _little bit_ of algorithms and some smart code.

> [@Discourse Chat Integrations](https://meta.discourse.org/t/discourse-chat-integrations/66522/12):
>
> Issue 2: Facebook has strict rules about bots sending messages without user interaction. In their platform policy they list cases where it is allowed:

Well, this is actually a _real_ problem. You could say that :discourse: notifier app _can_ be counted into any of the allowed category, and I highly doubt that it would contain

> advertising, marketing, solicitations, or promotional conten

in most use cases. But we have to be realistic: ToS of this API are made **exactly to stop any other social and discussion channels from using the platform**. There are though some possible solutions: from hoping that they wouldn’t notice, to using third-party libraries or even providing own solution based on available MQTT gem. Other interesting solution would be displaying Discourse forum as FB Canvas app perhaps? Still, what matters is that: **there are options**.

> [@Discourse Chat Integrations](https://meta.discourse.org/t/discourse-chat-integrations/66522/12):
>
> Issue 3: Facebook does not support their full “Messenger Platform API” in group chats. This is the massive show-stopper.

Well, yeah. You know, group conversations on FB were not designed for bots, but for people 😉 But I’ve already seen services which had standalone browser version and FB Canvas embedded (and using notifications) version as well, maybe this would be _some_ solution? But I admit, I didn’t dig into this, as _group notifications_ are somewhat out of my scope. But there _are_ options worth considering.  
Cheers!

---

_[View the full topic](https://meta.discourse.org/t/notifications-via-facebook/67338)._
