This one was a long one. But the answer was so blindingly simple in the end.
oauth.so is an extension for PHP that allows you to easily & reliably use the OAuth Protocol for authentication with external APIs.
It can be installed via pecl, and if you’re running XAMPP / MAMP on a Mac, chances are you already have pecl installed & setup.
So, let’s get started.