It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Where does HipChat get images for inline URL preview?

Whenever someone post a link, (e.g. http://www.apple.com/) an inline preview is displayed, usually with the company logo for the website. However, when we post one of our company's URLs the the image that is displayed is one that we use for an error page and is not normally seen when the URL is accessed.

 

I'd like to know how HipChat chooses what image to use, so that we could adjust our code.

1 answer

0 votes
sreuter Atlassian Team Jan 12, 2017

@Dmitry Zotman Good question! There are multiple different parsers involved to retrieve the meta information that's being used to display a card. Everything from looking at the opengraph meta tags, site specific parsers that query the service API (like Twitter), towards falling back to generic html parsing.

To debug the issue with your specific site, you might wanna try the following urls to debug things:

http://open.iframe.ly/api/iframely?url=http://www.google.com&origin=yo

https://developers.facebook.com/tools/debug/

Is it possible your site is protected and you just happen to have an active session/cookie that allows you seeing the actual content when hitting it with your browser?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,235 views 9 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you