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

@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
Community showcase
Published Nov 14, 2018 in Hipchat Cloud

Hipchat Cloud and Stride End of Life: Just over 90 days away

Earlier this year we made the difficult decision to discontinue our team messaging tools, Stride and Hipchat. The end of life date for Stride and Hipchat Cloud is quickly approaching - February 15, 2...

555 views 0 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you