crisboarna / fb-messenger-bot-api

NodeJS Facebook Messenger API for bots to send messages and setup events to Facebook.
https://www.npmjs.com/package/fb-messenger-bot-api
MIT License
34 stars 17 forks source link

Update for the latest API #100

Open toddheslin opened 4 years ago

toddheslin commented 4 years ago

https://github.com/crisboarna/fb-messenger-bot-api/blob/9de548c4b1462fe20bcca77fe74d542228cdebb0/src/util/Utils.ts#L26

OK so it looks like it won't be easy to simply update the API version in version as a config param because some of the methods have changed.

Is there a plan to upgrade it?

crisboarna commented 4 years ago

Hello @toddheslin, it is in the cards to upgrade the API version, I would need to have a look at what are the API changes across all supported types first to decide upon the best approach.

Depending on the amount of variation perhaps even supporting multiple versions could be done, although that may be more trouble than it's worth :)

toddheslin commented 4 years ago

No worries @crisboarna I might do an audit at some point to see what the changes would be.

I agree that it might be worth doing a semantic release and people can stay on the older version if they like.