WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i'm following this tutorial: http://itc.webmaasters.com/nextgen-gallery-with-facebook-and-twitter-wordpress-tutorial-or-hack/ for implement Facebook Like Button on this plugin.

It's working very well, but if you like the picture, this "like" does not appear in your timeline on facebook. On the photo you see the "countdown" of likes, but it not appearing on timeline...

Any script that is missing so there is your "like"?

share|improve this question
you have to insert meta tags for facebook in your header – Tribalpixel Aug 23 '12 at 16:47
up vote 0 down vote accepted

why not use this plugin ? NextGEN Facebook

Adds Facebook HTML meta tags to webpage headers, including featured images. Also includes optional Like and Send Facebook buttons.

share|improve this answer
this Plugin only add "Like Button" on pages and posts, and i want to add the "like" on every photo of my gallery... – Preston Aug 23 '12 at 17:18
i dont think it´s possible... the like is made to like/share a post/page... it need the extra infos in header to work correctly... maybe if you can transform your lightbox gallery in iframes popup (with specific header for every image)... – Tribalpixel Aug 23 '12 at 17:40
developers.facebook.com/docs/reference/plugins/like you need the Open Graph Tags type: <meta property="og:tag name" content="tag value"/> – Tribalpixel Aug 23 '12 at 17:41
i success add the button count on every photo, and the count works well. The only problem, thats the "Like" is not appearing under my Facebook Timeline. – Preston Aug 23 '12 at 17:44
developers.facebook.com/tools/debug/og/… use the url debbuger of facebook... – Tribalpixel Aug 23 '12 at 18:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.