{
"error": {
"message": "(#100) Tried accessing nonexisting field (messages) on node type (Page)", "type": "OAuthException", "code": 100, "fbtrace_id": "XYZ"
}}
Solution
I had a spelling mistake in the request JSON
request(
{
url: 'https://graph.facebook.com/v3.2/me/messages',
qs: {access_token: 'PAGE_TOKEN'},
methode: 'POST',
json: messageData
});
Tweet
No comments:
Post a Comment