I've tried the simple chatbot from the docs.
It works fine, as long as messages are plain ol' text without attached GIFs, pictures or anything fancy. When this happens, I receive a flood of error messages of the type:
[Error: unrecognized attach_file{"sticker_attachment": ...`
I use the latest version (1.4.0).
Is this a bug or am I using it wrong?
The API has changed.
Meaning?
@unipeg Meaning that almost everything related to attachments needs to be rewritten. The whole structure of the response message has changed.
Ok. I did manage to work around the issue with caching the error and
logging on again. But very nice.
Is the rewriting in progress already?
ons. 15. nov. 2017 kl. 14.26 skrev theweavr notifications@github.com:
@unipeg https://github.com/unipeg Meaning that almost everything
related to attachments need to rewritten. The whole structure of the
response message has changed.—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
https://github.com/Schmavery/facebook-chat-api/issues/557#issuecomment-344591598,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAt5pfGfjLpYSe6oqXMVPY2ZN3tyU28Lks5s2uaMgaJpZM4QbEXB
.
@unipeg Don't know. You will have to ask @Schmavery.
@theweavrs @unipeg yes it has been check master, we are working to finalize a few other items right now for more-stable handling of api changes but master has been updated in the mean time.
@unipeg sorry about this, please bear with us as we try to get this stabilized. I've unfortunately been pretty busy so still trying to make time to get on top of these attachment issues.
@Schmavery Any updates form the issue?
@Schmavery Any updates?
Sorry about this one everyone, forgot this issue existed somehow. I think (gee I hope) this should be improved now, but let us know if not.
Most helpful comment
@unipeg sorry about this, please bear with us as we try to get this stabilized. I've unfortunately been pretty busy so still trying to make time to get on top of these attachment issues.