Open raarellano opened 8 years ago
It's because you need an API key for it to work. You can get goo.gl shortener working by obtaining an API key from google (https://developers.google.com/url-shortener/v1/getting_started#APIKey) and modifying "short" script filter in Alfred Workflow by double clicking it and adding the api_url
for the 0:
entry to the line. So
0 : {'api_url':'https://www.googleapis.com/urlshortener/v1/url','title':'goo.gl','des':'http://goo.gl/'},
becomes
0 : {'api_url':'https://www.googleapis.com/urlshortener/v1/url?key=YOUR_API_KEY_HERE','title':'goo.gl','des':'http://goo.gl/'},
Thanks @Lightheaded, that worked. @stephenmckinney, @hzlzh I think this might be difficult for any non technical person to solve. If this can't be solved at the very least some instructions in the read me would help. Let me know if I can help and put in pull request for this.
Couldn't you just use alfred workflow environment variables for this?
Looks like Google is getting rid of their url shortening service. Should probably remove this from the workflow. Kinda sad really...
Still not working
Shorten URL Google service seems to be broken. I have included the debugging information below.