• Hello,
    I’ve seen an old topic about this but it was closed.

    I’ve added the following code to my Kleo child theme:
    add_filter( “adverts_post_type”, “my_adverts_post_type”, 10, 2 );
    function my_adverts_post_type( $args, $type = null ) {
    if( $type == “advert” ) {
    $args[“supports”][] = “thumbnail”;
    }
    return $args;
    }

    Try sharing on Messenger https://filipina.ro/advert/hm-blouse/ and you will only see the site logo. I need to publish a picture, on Messenger

    P.S.: the picture is the main picture of the ad.

    • This topic was modified 4 years, 4 months ago by mauroghiglia.
    • This topic was modified 4 years, 4 months ago by mauroghiglia.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    aside of the code your website also needs to generate OpenGraph data so FB will know which image to use.

    Currently, your website does not generate OG data at all, you can install a plugin like Yoast SEO it will generate the OG tags for you automatically.

Viewing 1 replies (of 1 total)
  • The topic ‘Sharing an ad in FB Messenger’ is closed to new replies.