Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJesus Mendoza
23,289 PointsHow to change the thumbnail when I share my website on Facebook?
I made a WordPress site and when I share it on Facebook I don't see a custom picture or at least the home, instead I see the pictures of my portfolio. Is there any way to change it?
1 Answer
Nicholas Olsen
Front End Web Development Techdegree Student 19,342 PointsFacebook uses a protocol called OpenGraph to crawl your pages and grab information, including what picture to display. Just do a quick search in the WordPress plugin directory for "opengraph" and you'll find plenty of plugins to implement it.
Alternatively, you can implement it yourself if you can't find a trustworthy plugin. You can read about it at ogp.me. Also, facebook provides an opengraph debugger here
Jesus Mendoza
23,289 PointsJesus Mendoza
23,289 PointsI'm using SEO by Yoast to set the image but it doesn't work, any idea?
Nicholas Olsen
Front End Web Development Techdegree Student 19,342 PointsNicholas Olsen
Front End Web Development Techdegree Student 19,342 PointsThere are a lot of variables to look at. If you're using a caching plugin I would start by clearing the cache. Otherwise, I'm really not sure where to start looking. Sorry.
Jesus Mendoza
23,289 PointsJesus Mendoza
23,289 PointsWell, thanks for your fast answer mate. I'll keep looking.