GiphyAPI icon indicating copy to clipboard operation
GiphyAPI copied to clipboard

Can't un-shorten gph.is/g/[...] short urls

Open seanwm opened this issue 3 years ago • 0 comments

We build a social intranet where people can embed Giphy images in their posts. But we can't figure out how to get a full url (and gif id) from one of the new short urls like: https://gph.is/g/ZyeqP3K

We'd prefer to just use oembed, but it's inconsistent (and fails for our example): https://giphy.com/services/oembed?url=https://gph.is/g/ZyeqP3K

We can use the Bit.ly API (v4) to expand some short giphy links, e.g. gph.is/1ZhShKr

But that doesn't seem to work for any short urls that include '/g/', like https://gph.is/g/ZyeqP3K or https://gph.is/g/aeYnj8k

I've been unable to find any documentation describing the change to the new '/g/' short urls, or detailing how to unfurl them. Help? Thanks!

seanwm avatar Apr 28 '21 16:04 seanwm