Releases: Boilertalk/VaporFacebookBot
Fix lat long typo
Coordinates were not written correct for location payloads in the webhooks section. Fixed that.
Remove droplet dependency for send api
The send api uses custom clients now to send requests.
Fix contentType for quickReplies
QuickReplies now allow location replies.
Add title and url to attachments
Attachments may contain title and url. Added both of them.
Change location parsing to allow urls
Urls are now also saved if they are provided together with location coordinates.
Fix location payload parsing
Locations may also have urls. Fixed the parser to allow this.
Add attachment_id to multimedia payloads
An attachment_id is now available for multimedia payloads. You can use it once you have an attachment_id for reusable multimedia files.
Open FacebookSendApi
The shared
instance is now public so the methods send
and sendAsync
can be used to send FacebookSend
requests to the Facebook API instead of manually doing that.
Initial send API functionality
This version includes an initial version of the facebook send API. Some buttons and templates are still missing and will be included in a next version.
Initial release
VaporFacebookBot is a helper library for facebook bots which are created with vapor. It consists of an abstraction layer which converts facebook bot callbacks to swift objects and back again.
This initial release includes two different callbacks: Message received and Postback received.
Other callbacks are coming soon.