Title: Duplicated Facebook OG on source code
Last modified: August 20, 2016

---

# Duplicated Facebook OG on source code

 *  Resolved [gmr1970](https://wordpress.org/support/users/gmr1970/)
 * (@gmr1970)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/)
 * I’ve just installed your excellent plug-in NextGEN Facebook OG, and I’ve noticed
   that there’s a duplicated FB OG data in my source code. Maybe it’s from bad uninstalled
   plug-in, maybe it’s from the theme that I’m currently using, maybe it’s from 
   WordPress… I don’t know.
 * My question is… How do I know who is writing that little piece of code that I
   want to get rid of?
 * Thanks in advance,
 * — Gabriel
 * [http://wordpress.org/extend/plugins/nextgen-facebook/](http://wordpress.org/extend/plugins/nextgen-facebook/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [JS Morisset](https://wordpress.org/support/users/jsmoriss/)
 * (@jsmoriss)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/#post-3366495)
 * WP doesn’t add OG tags, so it’s probably from your theme. Do you have a URL? 
   I’ll have a look at the source and see if anything stands out.
 * Thanks,
 * js.
 *  Thread Starter [gmr1970](https://wordpress.org/support/users/gmr1970/)
 * (@gmr1970)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/#post-3366568)
 * Yes, sure, here’s my blog: [http://www.laneuronaatenta.com.ar](http://www.laneuronaatenta.com.ar)
 * Thanks!
 *  Plugin Author [JS Morisset](https://wordpress.org/support/users/jsmoriss/)
 * (@jsmoriss)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/#post-3366580)
 * The Facebook debugger says it’s all good, except for the missing “og:url” property.
   Did you disable that meta tag?
 * [https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.laneuronaatenta.com.ar%2F](https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.laneuronaatenta.com.ar%2F)
 * Thanks,
 * js.
 *  Thread Starter [gmr1970](https://wordpress.org/support/users/gmr1970/)
 * (@gmr1970)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/#post-3366605)
 * Yes, I disable that meta tag because it’s duplicated on my code.
 * The duplicated Open Graph is still duplicated though.
 * Could you please help me pinpoint which plugin it’s writting that code?
 * Thanks!
 *  Plugin Author [JS Morisset](https://wordpress.org/support/users/jsmoriss/)
 * (@jsmoriss)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/#post-3366615)
 * The Facebook debugger does not see ANY og:url meta tag on the page. Is the duplication
   only happening when you enable the meta tag?
 * js.
 *  Thread Starter [gmr1970](https://wordpress.org/support/users/gmr1970/)
 * (@gmr1970)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/#post-3366621)
 * When I enable the og:url and use the FB debugger with a particular post like 
   this one:
    [http://www.laneuronaatenta.com.ar/musica/material-para-la-neurona-destruyan-al-album/](http://www.laneuronaatenta.com.ar/musica/material-para-la-neurona-destruyan-al-album/)
 * I receive the following error from the FB debugger:
    Errors That Must Be Fixed
 * More Than One OG URL Specified: Object at URL ‘[http://www.laneuronaatenta.com.ar/musica/material-para-la-neurona-destruyan-al-album/&#8217](http://www.laneuronaatenta.com.ar/musica/material-para-la-neurona-destruyan-al-album/&#8217);
   of type ‘website’ is invalid because it specifies multiple ‘og:url’ values: [http://www.laneuronaatenta.com.ar/musica/material-para-la-neurona-destruyan-al-album/](http://www.laneuronaatenta.com.ar/musica/material-para-la-neurona-destruyan-al-album/),
   [http://www.laneuronaatenta.com.ar/musica/material-para-la-neurona-destruyan-al-album/](http://www.laneuronaatenta.com.ar/musica/material-para-la-neurona-destruyan-al-album/).
 * —–
 * Now that I notice, the duplicated code only appears on post pages, not on the
   home page.
 * Just click on the link above, and search for the line: “<!– Facebook Open Graph
   Tags –>”
 * Thanks!
 *  Plugin Author [JS Morisset](https://wordpress.org/support/users/jsmoriss/)
 * (@jsmoriss)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/#post-3366640)
 * There is indeed another set of (very basic) Open Graph tags being added. They
   may be added by your theme or another plugin.
 * NextGEN Facebook OG:
 *     ```
       <!-- NextGEN Facebook OG Meta BEGIN -->
       <link rel="publisher" href="https://plus.google.com/101371778630642526427" />
       <link rel="author" href="http://www.laneuronaatenta.com.ar/author/gmr1970/" />
       <meta property="article:author" content="http://www.laneuronaatenta.com.ar/author/gmr1970/" />
       <meta property="article:modified_time" content="2013-01-15T00:22:04+00:00" />
       <meta property="article:published_time" content="2013-01-14T12:23:30+00:00" />
       <meta property="article:section" content="Digital Media" />
       <!-- article:tag:1 --><meta property="article:tag" content="creatividad" />
       <!-- article:tag:2 --><meta property="article:tag" content="m&uacute;sica" />
       <meta property="fb:admins" content="GabrielRavarini" />
       <meta property="og:description" content="Por Bob Lefsetz 1. Es un art&iacute;culo que genera ganancias para las discogr&aacute;ficas, es como recuperan el dinero invertido. 2. Es un gatillo para publicidad. 3. Es demasiado largo. En vinilo, &nbsp;te resist&iacute;as a poner m&aacute;s de cuarenta minutos de m&uacute;sica en un lado. Lo m&aacute;s cl&aacute;sico de los &aacute;lbums..." />
       <!-- og:image:1 --><meta property="og:image" content="http://www.laneuronaatenta.com.ar/wp-content/uploads/DestruyendoAlAlbum-150x150.jpg" />
       <!-- og:image:1 --><meta property="og:image:height" content="150" />
       <!-- og:image:1 --><meta property="og:image:width" content="150" />
       <meta property="og:site_name" content="la neurona atenta" />
       <meta property="og:title" content="Material para la neurona: destruyan al &aacute;lbum" />
       <meta property="og:type" content="article" />
       <!-- NextGEN Facebook OG Meta END -->
       ```
   
 * The other plugin or theme meta tags:
 *     ```
       <!-- Facebook Open Graph Tags -->
       <meta property="og:title" content="Material para la neurona: destruyan al álbum" />
       <meta property="og:type" content="website" />
       <meta property="og:image" content="http://www.laneuronaatenta.com.ar/wp-content/uploads/DestruyendoAlAlbum-e1358122420170.jpg"/>
       <meta property="og:url" content="http://www.laneuronaatenta.com.ar/musica/material-para-la-neurona-destruyan-al-album/" />
       <meta property="og:site_name" content="la neurona atenta" />
       <!-- Facebook Open Graph Tags end-->
       ```
   
 * You may want to start disabling plugins etc., to track down the culprit. Hopefully
   the plugin or theme responsible for these will have an option to disable that
   feature. 😉
 * Good luck,
 * js.
 *  Thread Starter [gmr1970](https://wordpress.org/support/users/gmr1970/)
 * (@gmr1970)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/#post-3366643)
 * Hahaha, yes, that brings me back to my original question…
 * Is there another way to track down the culprit, besides disabling plugins and
   themes?
 * What if the culprit was a plugin that was badly uninstalled?
 * Thanks for your help!
 *  Plugin Author [JS Morisset](https://wordpress.org/support/users/jsmoriss/)
 * (@jsmoriss)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/#post-3366645)
 * If you have shell access, you can do the following from the wp-content folder:
 *     ```
       ~/wordpress/wp-content$ grep -R 'Facebook Open Graph Tags' .
       ```
   
 * That should tell you which theme or plugin is adding those meta tags.
 * js.
 *  Thread Starter [gmr1970](https://wordpress.org/support/users/gmr1970/)
 * (@gmr1970)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/#post-3366679)
 * Hey!
 * I’ve finally found the culprit following your instructions!
 * This is the plugin that was duplicating the Facebook Open Graph Tags
    [http://tracking.42dev.eu/projects/facebook-send-button](http://tracking.42dev.eu/projects/facebook-send-button)
 * By deleting that plugin all solved another issue that I was having, that consisted
   on duplicated post title when I posted my link on Google+
 * Thanks a lot!
 *  Plugin Author [JS Morisset](https://wordpress.org/support/users/jsmoriss/)
 * (@jsmoriss)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/#post-3366680)
 * You’re welcome. 😉
 * js.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Duplicated Facebook OG on source code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextgen-facebook_f2c17e.svg)
 * [NextGEN Facebook](https://wordpress.org/plugins/nextgen-facebook/)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-facebook/reviews/)

## Tags

 * [source-code](https://wordpress.org/support/topic-tag/source-code/)

 * 11 replies
 * 2 participants
 * Last reply from: [JS Morisset](https://wordpress.org/support/users/jsmoriss/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/duplicated-facebook-og-on-source-code/#post-3366680)
 * Status: resolved