HFx6 / Messenger-Discord-bridge

A bridge between facebook messenger and discord
0 stars 0 forks source link

error message appstate.map is not a function #1

Open SeasonPhan opened 3 years ago

SeasonPhan commented 3 years ago

C:\Users\admin\Desktop\Messenger-Discord-bridge-main\node_modules\facebook-chat-api\index.js:308 appState.map(function(c) { ^

TypeError: appState.map is not a function at loginHelper (C:\Users\admin\Desktop\Messenger-Discord-bridge-main\node_modules\facebook-chat-api\index.js:308:14) at login (C:\Users\admin\Desktop\Messenger-Discord-bridge-main\node_modules\facebook-chat-api\index.js:421:3) at Object. (C:\Users\admin\Desktop\Messenger-Discord-bridge-main\messcord.js:29:1) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) at node:internal/main/run_main_module:17:47

HFx6 commented 3 years ago

facebook and discord have since changed their API. this was made many years ago and should have been archived.