Remove facebook broadcast api (#12278)

This commit is contained in:
Robert Chmielowiec 2020-03-10 14:54:58 +01:00 committed by GitHub
parent 61e6a783ee
commit e032223e8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,20 +119,3 @@ script:
title: Blue
payload: DEVELOPER_DEFINED_PAYLOAD_FOR_PICKING_BLUE
```
You can now also use Facebook public beta broadcast API to push messages to ALL users who interacted with your chatbot on your page, without having to collect their number. This will scale to thousands of users. Facebook requires that this only be used for non-commercial purposes and they validate every message you send. Also note, your Facebook bot needs to be authorized for "page_subscritions" if you want to make it to all but can be used right away to a selected group of testers of your choice.
To enable broadcast just use the keyword "BROADCAST" as your target. Only put ONE target BROADCAST as below:
```yaml
- alias: Facebook Broadcast
trigger:
platform: sun
event: sunset
action:
service: notify.facebook
data:
message: Some text you want to send
target:
- BROADCAST
```