URL Shortening Using Google API
Hi there.
This task is to take a long URL and return a short URL
The steps you need to do
- Read https://developers.google.com/url-shortener/v1/getting_started
- Get an API key from Google (see article)
- In Tasker - In your task
- Set a variable %cGoogleKey to your own Google API key
- Use a "Perform Task"
- Task: GshortURL v1
- %parameter 1: is the LONG URL
- %return parameter: is the shortened url
Shorten.xml This is the task that receive 1 parameter (Long URL) and return the short url
Enjoy
page revision: 3, last edited: 03 Aug 2017 13:34