Facebook Messenger Bot cannot send message to a given ID not working
Asked Answered
D

0

10

I want to send message to a user any time using facebook messenger API. I'm using developer version of messaging app and has not submitted for review yet. We are two friends both as developer in the app. I want when my friend sends message to my page, Bot replies and a copy of message sent by friend comes to my inbox. But when I tried api throws following error.

{"error":{"message":"(#100) Parameter error: You cannot send messages to this id","type":"OAuthException","code":100,"fbtrace_id":"HRTLdvidA4u"}}

Is there any solution. Thanks.

Deputation answered 26/3, 2017 at 9:21 Comment(5)
Any solution found ?Domesday
Yes, But you have to approve page_messaging_subscription to enable this feature.Deputation
Did you get it working? I have the same problem - I am a developer of the app and admin of the page that it is associated to but i cant send test message to myself, to my user id.Nitrosamine
Works in development mode but remember 24+1 policy.Deputation
What development mode are you talking about?Anthotaxy

© 2022 - 2024 — McMap. All rights reserved.