After following the instructions how to setup Facebook Messenger Integration and trying to send a message via below test script I get
Error 403 : (#230) Requires pages_messaging_phone_number permission to manage the object (Code 230)
Home Assistant release with the issue:
Home Assistant 0.104.2
Last working Home Assistant release (if known):
None
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Integration causing this issue:
Facebook Messenger
Link to integration documentation on our website:
https://www.home-assistant.io/integrations/facebook/
configuration.yaml
notify:
- name: Messenger
platform: facebook
page_access_token: [LONG TOKEN STRING]
#Test script used to send message
data:
message: 'Testing, one, two'
target:
- '+46000900900'
service: notify.messenger
Error 403 : (#230) Requires pages_messaging_phone_number permission to manage the object (Code 230)
The documentation could need some more guidance how to setup the Facebook developer side, or a link to a good guide.
Related issues:
https://github.com/home-assistant/home-assistant/issues/26132
https://github.com/home-assistant/home-assistant/pull/14257
I have the same issue, can anyone help?
Hi, same here.
waiting for some advice.
Same problem here.
After reading https://github.com/home-assistant/home-assistant/issues/26132 I understand that FB don't accepts phone numbers anymore as target. We will have to use PSID instead.
But to obtain PSID, it needs a good amount of coding from what I can see there : https://developers.facebook.com/docs/messenger-platform/identity/id-matching
I'm wondering how we can implement all this in HA.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 馃憤
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Also do not work for me. same error
I'm wondering how we can implement all this in HA.
Other components setup webhooks, so I don't see why this couldn't be done. I think the trickier part is how to represent that information in Home Assistant when a message comes in
Same here
Most helpful comment
Same problem here.
After reading https://github.com/home-assistant/home-assistant/issues/26132 I understand that FB don't accepts phone numbers anymore as target. We will have to use PSID instead.
But to obtain PSID, it needs a good amount of coding from what I can see there : https://developers.facebook.com/docs/messenger-platform/identity/id-matching
I'm wondering how we can implement all this in HA.