WordPress.org

Forums

Jetpack by WordPress.com
[resolved] Problem with Jetpack Open graph tag (6 posts)

  1. Dattaraj Vidyasagar
    Member
    Posted 1 year ago #

    I am trying to share my website links on Facebook, and every it shows a blank. Then I analysed my problems and found the following code in my site's source code.

    <!-- Jetpack Open Graph Tags --><meta property="og:type" content="blog">
    <meta property="og:title" content="YashPlus">
    <meta property="og:description" content="Information plus direction in education">
    <meta property="og:url" content="http://www.yashplus.com/">
    <meta property="og:site_name" content="YashPlus">
    <meta property="og:image" content="http://wordpress.com/i/blank.jpg">

    Due to this code, my sharing links on FB are showing a blank i.e. blank.jpg file on FB.
    I tried one more tag in <head> of my site page, as follows, to override the above problem, with no luck...
    <link rel="image_src" href="http://www.yashplus.com/wp-content/uploads/2012/11/yashplus.jpg">
    Please help...
    This entries of blank.jpg are also being shown in Fetch-as-Google tests, in my Google webmaster's account.

    Please help...

    http://wordpress.org/plugins/jetpack/

  2. Dattaraj Vidyasagar
    Member
    Posted 1 year ago #

    I deactivated all the sharing facilities in Jetpack and now its not showing the entries of blank.jpg

    But the debuger of Facebook is now saying -

    Inferred Property: The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.

    Inferred Property: The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.

    Inferred Property: The 'og:description' property should be explicitly provided, even if a value can be inferred from other tags.

    Inferred Property: The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.

    Please help

  3. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    When you enable Jetpack's sharing or Publicize module, Jetpack automatically adds Open Graph meta tags to your site.

    Among these tags, there is an image meta tag that is used by Facebook and Google+ to build post previews when you post on one of the social networks.

    Jetpack creates an image meta tag by browsing each one of your posts, and looking for images that are big enough to match Facebook's requirements (at least 200x200px). If Jetpack finds a slideshow, a gallery, or a single image inserted into the post that matches these requirements, the image is added as an image meta tag.

    On your home page, however, you haven't inserted any image. The images that may appear there have actually been inserted into posts, and not to the home page. Since Jetpack cannot find any image, it returns a default blank image.
    If you'd like to add a custom Open Graph image to replace the blank default on your home page, you can use the code in this tutorial:
    http://jetpack.me/2013/07/12/add-a-default-image-open-graph-tag-on-home-page/

  4. Ron Gallant
    Member
    Posted 1 year ago #

    That is not cool

  5. Dattaraj Vidyasagar
    Member
    Posted 1 year ago #

    @Ron Gallant
    Yes. I was much worried about some particular things about Jetpack.

    It is one of the most useful plugin, no discussion needed about it, but certain things are very uncommon about it.

    See my discussions regarding certain issues about it.

    http://wordpress.org/support/topic/remove-a-single-subscriber-from-the-list-of-jetpack-subscribers-1?replies=6

    http://wordpress.org/support/topic/remove-a-single-subscriber-from-the-list-of-jetpack-subscribers?replies=2

    There is one more problem with it. The social commenting does not work with premium themes, but only works with WP native themes.

    So facing all these problems I removed it from my blog at http://www.yashplus.com and found other alternatives.

  6. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    There is one more problem with it. The social commenting does not work with premium themes, but only works with WP native themes.

    Jetpack Comments relies on the comment_form() function being used to display the comment form. This function was added to WordPress in version 3.0, in July 2010. Unfortunately, some themes still hard code a comment form instead of using this function.

    If your theme hard codes the comment form, you or the theme author will need to replace it with comment_form() in order for Jetpack Comments to work correctly.

    You can read more about this function here:
    http://codex.wordpress.org/Function_Reference/comment_form
    http://ottopress.com/2010/wordpress-3-0-theme-tip-the-comment-form/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic