Solved

Facebook’s Attached Links and Page Previews not working on wordpress blog

Posted on 2010-11-23
1
384 Views
Last Modified: 2012-05-10
I need help resolving something. I have a wordpress blog (cannot list) that when you paste a link from an article into facebook it pulls the main sites description, image, NOT the post articles. It does pull the proper title and permalink, but NOT the description and image.
Here is what i got so far, basically, I need to know how use wordpress codex to pull the description and image from a particular post. Here is what i got so far which is in the header.php file of my wordpress theme
<meta property="og:type" content="article" />
<meta property="og:title" content="<?php the_title() ?>"/>
<meta property="og:url" content="<?php  the_permalink() ?>" />
<meta property="og:description" content="<?php echo urlencode(get_permalink()); ?>"/>

Open in new window

0
Comment
Question by:adrian7474
1 Comment
 

Accepted Solution

by:
adrian7474 earned 0 total points
ID: 34201159
Solved my own question. Found this great article for those who might have same problem.
http://www.werewp.com/tutorials/how-to-add-like-button-to-wordpress-pages/
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

With Wordpress gaining more and more popularity not only as blogging platform but as a shopping or CMS solution, it's worth to know which plugins are the first ones to grab and integrate with your website. We will briefly go over the most useful plu…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now