
- #Postbox 5 color message based on account install
- #Postbox 5 color message based on account full
- #Postbox 5 color message based on account code
But hopefully it’s more fun than traipsing around the streets in the freezing cold looking for a post box? Create a Nexmo Applicationįirst, you need to create a Nexmo application. However, there’s a bit of setup you must do before you can get it working. We’ll highlight some of the more interesting bits later in this post.

You need this to work with the Messages API, which is also still in beta. nexmo ^2.4.2-beta-1: a beta version of the Node.js REST client library.dotenv: for configuring the application using an external.body-parser: for parsing POST requests.express: the web application framework.This application relies on the following packages:
#Postbox 5 color message based on account install
Install it locally by performing the following steps:Ĭlone the repository from GitHub.
#Postbox 5 color message based on account code
You can use their free tier for this.Īll the code for this project is available on Github. A LocationIQ account to geocode addresses.If you don’t have one already, we’ll talk you through creating one. A Facebook account, ideally with a business page already configured.If you don’t have one already, sign up and get some free credit. A Nexmo account to use the Messages API.There’s a couple of things you’ll need if you want to get the Postbox Finder working: The LocationIQ API to convert addresses to map coordinates in a process known as geocoding. Those who are using the web client or don’t want to share their actual location will be able to send their address instead. Users who have the mobile app will be able to share their location details with us.

Matt did the potentially expensive job of calculating the map coordinates of each postbox and making them available online.įacebook Messenger. Details of every postbox in the UK was made available a few years ago in response to a Freedom of Information Request.
#Postbox 5 color message based on account full
That’s a boring job automated and taken care of, with hopefully some fun technical challenges along the way.Įxcept you have now had a backpack full of Christmas cards for over a week and it’s getting perilously close to the last posting date. So you’ve built a database for this year’s Christmas Card list, printed the cards with custom xkcd cartoons based on each recipient’s profession and mail-merged the lot.
