misterbisson / bsocial

GNU General Public License v2.0
0 stars 8 forks source link

OG meta improvements #12

Open misterbisson opened 11 years ago

misterbisson commented 11 years ago

Suggestions to improve OG implementation, from https://developers.facebook.com/docs/technical-guides/opengraph/maximizing-distribution-media-content/ and elsewhere:

<meta property="og:type" content="blog" /> Should be type of article, with the special article properties. Pointing to your site's author pages from a shared story should be especially useful. http://ogp.me/#type_article

Check out Facebook's fb:profile_id property to specify the Facebook profile ID of your authors. You should consider the same thing for Google and Twitter. The simplest implementation would be adding a text box in a WordPress profile for a copy-and-pasted value for each author. https://developers.facebook.com/docs/technical-guides/opengraph/og-follows/

Use the app ID from your Facebook button in your site's metadata as well. <meta property="fb:app_id" content="180650338636285">

<meta property="og:image" content="Š?w=210&h=140&crop=1" /> Why crop? You're setting up the article for exclusion in how Facebook highlights your stories by making the article preview look worse on iPad and other viewing environments, which might make a programmatic editor such as Facebook drop the story from a ranked display. Facebook can handle images up to 5 MB and will resize for you. You can even add some image dimension metadata if you'd like for interpretation by Facebook, Twitter, and others.

misterbisson commented 10 years ago

I believe these were addressed in https://github.com/misterbisson/bsocial/pull/16