/ Published in: PHP
This is a quick & dirty helper for pumping out those annoying little link sharing URLS. I've kept it simple, so all it does is return a URL formatted for a particular service.
To use it, just pass a string of the service name to the helper followed by the title. This could definitely be taken to the next level by adding a parameter for the URL, but my needs were incompatible with such a feature.
To use it, just pass a string of the service name to the helper followed by the title. This could definitely be taken to the next level by adding a parameter for the URL, but my needs were incompatible with such a feature.