Search found 2 matches

by gbcox
Thu Feb 02, 2017 2:15 am
Forum: Custom Actions
Topic: goo.gl
Replies: 2
Views: 3333

Re: goo.gl

I got a key and it works and allows me to copy the shorturl: here is the full string: javascript:var r = new XMLHttpRequest(); r.open("POST","https://www.googleapis.com/urlshortener/v1/url?key=YOUR_KEY_GOES_HERE"); r.setRequestHeader("Content-Type","application/json"); r.onreadystatechange = functio...
by gbcox
Wed Feb 01, 2017 5:05 pm
Forum: Custom Actions
Topic: goo.gl
Replies: 2
Views: 3333

goo.gl

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/v1/url?key=mykeyhere -H 'Content-Type: 'application/json' -d '{"longUrl":"{fullURL}"}") So as an alternat...