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

This widget could not be displayed.

@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 Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

403 views 1 10
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