Hi!
I can no longer receive messages using listen.
More specifically I can't get the contents of body which is the message content.
I can still get all other information such as threadyID, userID etc.
I can still receive mesages on messenger/facebook but not using the API.
I forgot to mention that I can still send messages as usual using the API.
Maybe because the new delta messaging. This is under progress feature.
Contributions are welcome :-)
canyou be more precise? Delta messaging?
I'll see if I can do stuff aboutit, altough the API is lastest version
What do you mean you can't get the body? Is it always empty? Ask @GAMELASTER said try turning deltaMessages off by calling api.setOptions({disableDelta: true})
oh wait, my bad, this is no longer a thing. Try synching the repo to this commit 22b47ad93231af96bea37ae5fda12f389e31a65e (by changing your package.json's dependency on facebook-chat-api to be "git://github.com/schmavery/facebook-chat-api.git#22b47ad93231af96bea37ae5fda12f389e31a65e").
@bsansouci I have no idea how to do that, im still fairly new to NPM and NODE, but I'll google it and tell you guys how it went.
I already did that, I got the message content in msg: "blablabla".
However I don't know how to update the code to mirror that, neither do I know hoe to change json depency
(sorry I deleted my previous comment as it was on the wrong issue :p)
where is the package.json for facebook API located in windows?
You need to change your project's package.json, which would be at the root of your project.
I see, so from Visual studio.
Weird, I did not do anything but it's working again.....
Nice! Closing.
Most helpful comment
(sorry I deleted my previous comment as it was on the wrong issue :p)