guidone / node-red-contrib-chatbot

Visually build a full featured chat bot for Telegram, Facebook Messenger, Whatsapp and Slack with Node-RED. Almost no coding skills required.
http://red-bot.io
931 stars 188 forks source link

Problem with request from FB test account #431

Closed crboschi74 closed 1 year ago

crboschi74 commented 4 years ago

After created the BOT, I make the request to FB to enable for production, request for pages_messaging.

When arrive themessage from user test of FB, i receive one error on the log.. and the user test of FB BOT not receive the response..so FB reject my request.

The error is: Unable to get profile info for user

Can You Help me?

crboschi74 commented 4 years ago

I try to check the code... the problem is in facewbook.js at function getProfile...

guidone commented 4 years ago

Sorry for the delay. For some reasons the page doesn't have the rights to get the user profile, can you check here

https://developers.facebook.com/docs/messenger-platform/identity/user-profile/#request

In particular section "Requesting feature access to user fields for the Page"