Huge Facebook Share Button?

wyattjozwowski

Regular Member
Joined
Jan 25, 2013
Messages
347
Reaction score
413
Hey Guys,

So I'm currently using this code for a big Facebook share button:

<center><a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo(urlencode(get_permalink( $id ))); ?>" target="_blank"><img src="Facebook Button Image URL"></a></center>

And it works and looks good.

There is only one problem. It's grabbing an image from the post to use as the image when shared on Facebook, but I want a share button that uses the 'Featured image" So I can control how it looks in the newsfeed

Any suggestions?
 
You haveto go to your <head> section and edit your
<meta property="og:image" content="">


Tag and put the featured image inside content. Might not be a "simple job" if you are using wordpress.

 
Google: fb link debug

You can use op:properties to control the facebook thumbnail as you want.

edit: Sry for low info buti'm on android
 
Back
Top