goo.gl
Posted: Wed Feb 01, 2017 5:05 pm
Has anyone attempted to create an action for goo.gl? I've tried using the javascript and keep getting:
SyntaxError: missing ) after argument list
openURL("https://www.googleapis.com/urlshortener ... =mykeyhere -H 'Content-Type: 'application/json' -d '{"longUrl":"{fullURL}"}")
So as an alternate approach I though of just creating a custom action using http://goo.gl and then using copystring:{fullURL}
but I can't figure out a way to just have the clipboard to just have the contents of {fullURL} - it copies the entire url specified including "https://goo.gl"
any suggestions? Thanks!
SyntaxError: missing ) after argument list
openURL("https://www.googleapis.com/urlshortener ... =mykeyhere -H 'Content-Type: 'application/json' -d '{"longUrl":"{fullURL}"}")
So as an alternate approach I though of just creating a custom action using http://goo.gl and then using copystring:{fullURL}
but I can't figure out a way to just have the clipboard to just have the contents of {fullURL} - it copies the entire url specified including "https://goo.gl"
any suggestions? Thanks!