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
943 stars 191 forks source link

Unable to get profile info for user #336

Closed rafikos1988 closed 5 years ago

rafikos1988 commented 5 years ago

i have an issue getting user infos after i changed my facebook password ; i tried creating new app, new token, new all...but still same issue :(

-------------------------- Error in chat-platform.js --------------------------- Unable to get profile info for user 1995053190607544 - Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.

30 Sep 13:50:24 - [error] [chatbot-facebook-node:31ea0ee1.afef82] Unable to get profile info for user 1995053190607544 - Error validating access token: The session has been invalidated because the user changed their password or Facebook has

rafikos1988 commented 5 years ago

if i try using a chatbot third party provider like chatfuel, it works fine :(

guidone commented 5 years ago

I think you have to regenerate the access token for the chatbot

rafikos1988 commented 5 years ago

Hi, i already did many times, i event changed the facebook app and the user. Seems the node is still using an old token?

guidone commented 5 years ago

Perhaps there's an error calling the server, you see someting in the system console?

If there's nothing strange I've to check with one ofmy examples

rafikos1988 commented 5 years ago

I only see that error ;

Unable to get profile info for user 1995053190607544 - Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.

it happened after i changed my facebook account password. if i use chatfuel and link it to my page, it works fine

rafikos1988 commented 5 years ago

Hi, it could be something related to the network firewall...checking..

rafikos1988 commented 5 years ago

So yes it was due to network firewall, someone blocked something... Sorry i was missguided by the error message!