Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MS Tile icon and Facebook Open Graph image? #20

Open
danleech opened this issue Sep 6, 2013 · 3 comments
Open

Add MS Tile icon and Facebook Open Graph image? #20

danleech opened this issue Sep 6, 2013 · 3 comments

Comments

@danleech
Copy link

danleech commented Sep 6, 2013

Going beyond favicons and apple-touch-icons, you could add icon support for Windows 8 and Facebook sharing using this code:

<meta name="msapplication-TileImage" content="images/tile-144.png">
<meta name="msapplication-TileColor" content="#000000">
<meta property="og:image" content="images/web-clip-512.png">

Facebook Open Graph meta tags: https://developers.facebook.com/docs/opengraph/using-objects/

Pinned Sites in Windows 8: http://blogs.msdn.com/b/ie/archive/2012/06/08/high-quality-visuals-for-pinned-sites-in-windows-8.aspx

@danleech
Copy link
Author

danleech commented Sep 6, 2013

Ignore the MS tile bit. Obviously I’m an idiot and didn’t read a whole section of your (well written) documentation. The Facebook Open Graph image point still stands. :)

@lee101
Copy link

lee101 commented Feb 17, 2014

I agree add open graph images into this document. 512 seems a good size, i did a bit of reading and i heard the recommended size is 1500x1500 ??? That seems a bit crazy?

@mprins
Copy link

mprins commented Feb 17, 2014

FB quote halfway down the page at: https://developers.facebook.com/docs/opengraph/creating-custom-stories/#objecttypes also note that if you use the same image for a Twitter card it should be =<1MB (https://dev.twitter.com/docs/cards/markup-reference)

The URL of an image which is used in stories published about this object. We suggest that you give us an image of at least 600x315 pixels. However, bigger is better, so if you have a 1200x630 or larger image that you can use, please give it to us. Also, we recommend that you keep images as close to a 1.91:1 aspect ratio as possible to avoid cropping. (Note: image sizes must be no more than 5MB in size.) Note that you can include more than that one og:image in your object if you have more than one resolution available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants