So it is important for you to make sure you send snippets of your blog posts to Google+ which will invite people to read your posts and interact with you about them.
You should have already included the Google+ button on your sharebar. That is a start, and you could just leave it at that. But notice in the image below that when I click on the button, it pulls the wrong image for the post, and a non-customized description.
I want a little more control than that. Here is a post explaining how.
Ultimately what we need to do is add OpenGraph Meta data to our blog posts. The nice thing is that Facebook uses this meta data also for sharing posts on Facebook.
There are two ways of adding the OpenGraph meta data. The first is that you can hard code it into your blog header. The second option, which I use, is to let a plugin do most of the coding for me. I use WordPress SEO.
But I will show you both methods, just in case you want to know how, or in case you don’t use that plugin.
Hardcode OpenGraph Meta Data
To hardcode in the OpenGraph meta data, put the following code somewhere in your header.php file.
Note that the first three lines include some Facebook data. This is for Facebook, which Google+ doesn’t need. But as long as you are putting in some OpenGraph data for Google+, you might as well include some Facebook numbers as well.
If you decide to include these three lines for Facebook, you will need to find your numbers.
Facebook always seems to be changing where these numbers are located, but for right now, here is how to find them:
Facebook Admin ID: Go to Facebook and navigate to your Profile Pictures. Click on any profile picture, and look at the URL in your browser. It should look something like this:
You will see bunch of long numbers separated by periods. The very last long number should be a nine digit number. That is your Facebook Admin ID number.
You will also need to get a Facebook App ID number. I am not going to walk you through this process, because if you installed the Add Link to Facebook Plugin (it’s awesome!), you already have a Facebook App Id which will work here.
Just use the one you used there. You can find it under the “Settings” page of your Add Link to Facebook menu item (under Tools).
Then you need your Facebook Page ID Number. This is only if you use Facebook as a Page, which I don’t right now, and so I don’t have one. If you use Facebook as a Page, you’re on your own in finding this number. Sorry!
Once you have entered your numbers, you paste the code in your header.php file, and you are good to go!
Note that the code requires each post to include a Featured Image and a Post Excerpt. These will populate the OpenGraph meta data.
Use a Plugin to Add OpenGraph Meta Data
I use WordPress SEO to add my OpenGraph Meta Data for me.
I still need the same numbers as above, but I just paste them in where it asks for them, and save the settings, and I’m done! The plugin will now add the appropriate code to my header for me. ‘
I LOVE the WordPress SEO plugin!
Now, let’s go try that sharing again…
And here is how it looks on Google Plus:
If this post was helpful, go ahead and try it out yourself by Sharing it on the left Sharebar with Facebook and Goolge Plus!
Go ahead! Give it a try!