• Hai Timo …

    Plugin ist working good …
    there are some problems transfering the correct product data to social networks like FB …
    For example, FB needs the following meta fields filled to work proper …
    I use the WordPress Facebook Open Graph protocol plugin on some pages which does a good job …
    Is ist possible to pass data the product title, product description and product picture to the the corresponding meta fields to give FB and other networks the right information?

    <!– WordPress Facebook Open Graph protocol plugin (WPFBOGP v2.0.10) http://rynoweb.com/wordpress-plugins/ –>
    <meta property=”fb:app_id” content=”xxxxxxx”/>
    <meta property=”og:url” content=”http://froglobster.com”/&gt;
    <meta property=”og:title” content=”Product name”/>
    <meta property=”og:site_name” content=”Froglobster CREATIV Lösungen”/>
    <meta property=”og:description” content=”Produktbeschreibung aus “description-wrapper” “/>
    <meta property=”og:type” content=”website”/>
    <meta property=”og:image” content=”http://sitename.com/Pfad/zum/Produktbild/xxx.png”/&gt;
    <meta property=”og:locale” content=”de_de”/>
    <!– // end wpfbogp –>

    Thanks for the great plugin
    Hardy from Berlin

    https://wordpress.org/plugins/wp-spreadplugin/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Thimo Grauerholz

    (@pr3ss-play)

    hi,

    this is only possible on detail pages, in a early version i tried to change it via javascript, but it wasn’t such reliable, so i removed it.

    If you’ve ready code, I could integrate it, but so far I’m sorry, this is not priority 🙂

    Thread Starter HardyBerlin

    (@hardyberlin)

    Thanks Timo …

    no, i’m not a coder and not able to fix this problem …

    Greetz from Berlin
    Hardy

    Thread Starter HardyBerlin

    (@hardyberlin)

    Hallo Timo,

    i was thinking about this problem many times, because without the chance of sharing the products on social plattforms with proper metadata, the plugin is not optimal …

    My idea – a solution with jQuery:

    As an Admin, I call the details page of each new product.
    Using jQuery I ask the appropriate tags, for example the <description-wrapper> and deliver back the result
    Via a confirmation button I write the corresponding data into the database or reject via an second button.
    The next time the details page is called, this data is read from the database and written to the appropriate OG tags.
    Voila, I have the desired metadata in the source code and now are able to share the Page easily on sozial media platforms

    Would be optimal to overwrite the <titel> tag with the (og: title)

    What do you think? Could it be done this way?

    Greats from Berlin

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Proper Data for Social Networks’ is closed to new replies.