Extension:SocialcastOGP

What can this extension do?
SocialcastOGP is based on Extension:OpenGraphMeta and provides OpenGraph protocol metadata for articles on the wiki for Socialcast to extract. The primary use for this extension is for any wiki that provides its users a button to "Like" pages on the wiki and a comment box to share comments with the rest of your Socialcast community.

This extension includes a parser function  which also exports what it is passed so you can use it easily in a   format can be used to set the image in the article which you prefer Socialcast to use when displaying information about the page on your wiki (hint: This works very nicely when you incorporate it into an infobox template making the infobox image the preferred image for 3rd parties to use).

For more details see How to build a media wiki extension for Socialcast

Usage
To add any reach extension in your wiki page you can use the following magic word:

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation

 * 1) Copy the contents of SocialcastOGP MediaWiki Extension into your extensions directory.  Choose the version that matches your version of MediaWiki.
 * 2) Add   to the bottom of LocalSettings.php inserting the proper tokens for each extension.
 * 3) Installation can now be verified through Special:Version of your wiki.

Configuration parameters

 * 1) $wgSocialcastUseMicrodata set to true to use Microdata instead of RDFa with the Open Graph Vocabulary. For more details see http://developers.socialcast.com/publish/open-graph-protocol/
 * 2) $wgSocialcastButtonToken is the opaque token for the Recommendation button extension you created for your Media Wiki instance
 * 3) $wgSocialcastDiscussionToken is the opaque token for the discussion extension you created for your Media Wiki instance
 * 4) $wgSocialcastProfileToken is the opaque token for the profile stream extension you created for your Media Wiki instance
 * 5) $wgSocialcastCommunityUrl is the url for your community. Ex: "https://demo.socialcast.com"