Facebook Like not posting complete URL or correct image.

quinnjonny May 21, 2012 02:36PM EDT

I am running Wordpress 3.3.2 with Gallery 2 embedded with WPG2. Everything looks great and i have successfully placed AddThis within my template. everything appears to be working correctly except Facebook. The facebook like is posting the direct URL to my gallery (www.ourniteout.com/galleries) but it should be posting the complete URL including the album and specific viewed image, which would be something like this http://ourniteout.com/v/Beach/27th+September+2011/IMG_4378.JPG.html#.T7qKdUVYtSR

I am using Apache mod_rewrite to get that URL, can this be the problem ? Any help would be great ! Thanks

1 Community Answers

Paul May 21, 2012 02:45PM EDT

Facebook doesn't work like the other AddThis buttons. Instead of accepting parameters that we pass it, Facebook requests the URL you're sharing and gets the data it displays from the meta and link tags in the header. To control how your page is shared on Facebook you should use OpenGraph tags which are described in Facebook's documentation here: http://developers.facebook.com/docs/opengraph/


Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Still need help?


General Topics

 

Developers