Charca / bootbot

Facebook Messenger Bot Framework for Node.js
MIT License
974 stars 253 forks source link

Updated Graph API version #91

Open magnusburton opened 6 years ago

magnusburton commented 6 years ago

Thought we would update the Graph API version from v2.6 to v2.11 😄

mraaroncruz commented 6 years ago

I don't know what the repercussions of this would be, that is why i haven't merged this. @Charca any insights here?

Charca commented 6 years ago

I didn't see any relevant updates in v2.11 here https://developers.facebook.com/docs/graph-api/changelog

@magnusburton what are the features for the Messenger API that are available in the new version?

And in case there are breaking changes, I think the right way to do this would be to make the version a param that can be configured when creating the BootBot instance (and default to v2.6). Thoughts?

magnusburton commented 6 years ago

@Charca I believe the new Broadcast API is running on v2.11+ but since you haven't implemented support for it it might be unnecessary at this point in time.

I recently upgraded my local copy of Bootbot to v2.11 and have yet to experience breaking changes. Including a parameter for the version would be the best option in this case.