hypernumbers/twilio_erlang — comment on commit f88e96920e97977575b5ba0fb265068f29c9b5c1
File: src/twilio_capabilities.erl line 94
By hypernumbers:

My thinking is this. Get the hello_monkey client working:
https://www.twilio.com/docs/quickstart/php/client/hello-monkey

So I have a helper function that now generates that - except that the html doesn't work. Seems to be the same but I can't verify that the token is correct - so write a test suite that checks the token is generated the same.

So then I walk through the PHP script that generates the token printing out the subcomponents that go into making up the token and check them line by line. Getting the Erlang token component generation to match that of the PHP to make sure that I am getting all the padding/hashing encoding stuff working right.

This change is part of that plinky-plonky/make it all the same :(

Another approach might be to generate a token in Erlang and then push it through the unpacking routine in PHP and make sure it comes back to the original Erlang structure?