WordPress.org

Ready to get started?Download WordPress

Forums

Facebook like button plugin - error (5 posts)

  1. Speed_FANat1c
    Member
    Posted 2 years ago #

    Hello,

    I have a problem with I cannot figure out myself for long time: I instaled

    Like-Button-Plugin-For-Wordpress

    and go to page, press like button and get an error:

    "The page failed to provide a valid title. A page can specify a title using a meta tag of the form <meta property="og:title" content="[title]"/>."

    I check the source, and I find such meta tags:

    <!-- using Like-Button-Plugin-For-Wordpress [v4.5.2] | by Stefan Natter (http://www.gb-world.net) -->
    <meta property="og:site_name" content="test name"/>
    <meta property="og:type" content="blog"/>
    <meta property="og:title" content="test name"/>
    <meta property="og:url" content="http://darius.freeiz.com/wordpress-facebook"/>
    <meta property="og:description" content="Just another WordPress site"/>
    <!-- using Like-Button-Plugin-For-Wordpress [v4.5.2] | by Stefan Natter (http://www.gb-world.net) -->

    At first I there was not the title in the tag, it was empty. But I add title, and nothing changes.

    Maybe the facebook caches it I think. But how can I test if it caches? How can then I clear the cache it is the problem?
    You can check a live page here:

    http://darius.freeiz.com/wordpress-facebook/

  2. eugenealegiojo
    Member
    Posted 2 years ago #

    Speed_FANat1c,

    I'm having the same issue and I couldn't able to trace the caused of the issue.

    Do you have any luck on this?

    Thanks.

  3. Speed_FANat1c
    Member
    Posted 2 years ago #

    I just disable that plugin and use inside code. I tried putting it into the theme. But I guess I should use filters or hooks for that, to not modify the theme core files.

    http://www.devlounge.net/code/add-a-facebook-like-button-to-your-wordpress-theme-in-5-minutes

  4. eugenealegiojo
    Member
    Posted 2 years ago #

    Alright, I'm using Facebook Comments for WordPress plugin. FB might changed their API.

    In your case, what theme are you using?

  5. Speed_FANat1c
    Member
    Posted 2 years ago #

    I guess I tried on Headlines theme, by woo themes, if you are asking about wordpress theme. But it should not matter.

Topic Closed

This topic has been closed to new replies.

About this Topic