php - Facebook Messenger Send returns "No matching user found" -


i want send message user server once they've finished updating payment details in facebook messenger webview, before close webview window , return chat.

i'm sending post message, defined, https://graph.facebook.com/v2.6/me/messages?access_token=abc in format of:

{   "recipient": {     "id": 123456789   },   "message": {     "text": "hello, world!"   } } 

...where 123456789 valid page scoped user id of person i'm messaging (currently, person admin of app while we're in development).

the response is:

{     "error": {         "message": "(#100) no matching user found",         "type": "oauthexception",         "code": 100,         "error_subcode": 2018001,         "fbtrace_id": "ctdzskm/2rm"     } } 

nothing seems change this. cannot application send message facebook messenger chat via curl.

make sure using same page-scoped access token send new message used when received person's psid.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

linux - Why does bash short curcuit fail in crontab? -