WordPress.org

Ready to get started?Download WordPress

Forums

WP Facebook Open Graph protocol
[resolved] Og:title empty (25 posts)

  1. chemoul
    Member
    Posted 2 years ago #

    Hi
    I'm getting the following error in the Facebook debugger:

    Object Missing a Required Value: Object at URL 'http://textfails.com/' of type 'website' is invalid because a required property 'og:title' of type 'string' was not provided.

    The title is definitely set in the general WordPress settings and is displayed in the browser bar as well.

    Any ideas?

    Thanks
    Steve

    http://wordpress.org/extend/plugins/wp-facebook-open-graph-protocol/

  2. Chuck Reynolds
    Member
    Plugin Author

    Posted 2 years ago #

    it's because you're not using an seo plugin and don't have title meta data for your home page. It's something that changed in 1.6 that was a slight oversight in regard to people running 'naked' if you will. I'm moving it more towards working with the larger SEO plugins out there and this was the first step. I forget I need to run redundancy checks on older ways...
    You can either roll back to 1.5.2 (I tagged the version in the repository linked from the plugin page) or I should be pushing a little fix for the few people having the issue this week. OR you can install allinoneseo or yoasts seo plugin. Standby tho... actively working on making this puppy better :)

  3. chemoul
    Member
    Posted 2 years ago #

    Brilliant thanks for the quick response, I really appreciate it!

    Steve

  4. Chuck Reynolds
    Member
    Plugin Author

    Posted 2 years ago #

    eh I just reverted that part of the plugin... 1.6.1 should hit for you shortly.. I've already pushed it to the repo. standby.

  5. chemoul
    Member
    Posted 2 years ago #

    Thanks! The updated plug in fixed it. I had an older version of Allinone SEO already installed, not sure why it didn't add the title meta tag properly.
    Anyway, I now get the following debug message:

    Open Graph Warnings That Should Be Fixed
    
    Extraneous Property:	Objects of this type do not allow properties named 'fb:page_id'.

    Any tips?

  6. Chuck Reynolds
    Member
    Plugin Author

    Posted 2 years ago #

    They have or are shortly depreciating the page_id identifier. You'll have to either use app_id or admins. That'll be in next update too.

    Just remember that Facebook changes shit ALL THE TIME without actually telling anybody... shit breaks often, sometimes they fix stuff sometimes they just nuke it entirely like this one and never say anything. Dev's just try to keep up :) Especially with the Open Graph stuff... it's still pretty new so they change it almost daily.

  7. hollowjack
    Member
    Posted 2 years ago #

    Hi Chuck. I'm having a similar issue (with added wrinkles) since the update. The first thing I noticed was that two pages on my site (www.beachedmiami.com/music-guide and /instapix) would not open. After loading for a while, I got an error message about my SEO plugin, SEO Ultimate. When I disabled SEO Ultimate, the pages worked but that wasn't a good fix. After reading this thread, I reactivated SEO Ultimate and deactivated your OG plugin -- those pages started to work again, but of course that's not a good fix either.

    In addition to the issue with those two pages (and perhaps more that I haven't yet discovered), I am also having the title tag issue that I wasn't having before the update. Do you have any advice? I'm not well versed in dev or programming ... Thanks for your help.

  8. hollowjack
    Member
    Posted 2 years ago #

    This is the error message I get when I try to load the aforementioned pages:

    Fatal error: Maximum execution time of 30 seconds exceeded in /home/ineedafi/public_html/beachedmiami.com/wp-content/plugins/seo-ultimate/modules/internal-link-aliases/internal-link-aliases.php on line 273

    Update: I disabled the Link Mask Generator module in SEO Ultimate and those pages are now opening without a problem. I still have the FB OG issues.

  9. Andrew Ryno
    Member
    Plugin Author

    Posted 2 years ago #

    Hey hollowjack,

    What problem do you still have with the OGP plugin? Both those pages linted fine for me.

    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.beachedmiami.com%2Fmusic-guide%2F

    https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.beachedmiami.com%2Finstapix%2F

    Let me know what other problems you are having and we will look into it.

    Thanks!
    Andrew

  10. hollowjack
    Member
    Posted 2 years ago #

    Hi Andrew. Thanks for checking in. Two issues (probably stemming from the same source):

    1. When someone likes a particular post, it shows up on Facebook WITHOUT the title tag. So if you like any post on beachedmiami.com right now, it's going to show up on your FB wall as "Beached Miami" instead of, for example, "Miami Music Guide | Beached Miami" -- which is what it used to do before the update.

    2. The thumbnail image when you like something is not the featured image or even the top-most image. It's a seemingly random image from the post or (worse) from the sidebar. This is an issue I had before installing this plugin. In fact, that is why I installed the plugin.

  11. Andrew Ryno
    Member
    Plugin Author

    Posted 2 years ago #

    Ah, I missed the titles being different. I just saw you had some title data being populated. Which SEO plugin are you using or how are you managing the title/description for the pages? I know we have had a couple issues with a few SEO plugins because of the way they handle rewriting the title, but that should be fixed in a new version today.

    As for the images, I'm not sure why it would be pulling from the sidebar or from featured posts unless it's some strange bug. Here is the order we pull images:

    1. Featured image
    2. All images in the content of the post/page (or added via shorttag)
    3. Fallback image via admin options

    I'll take a look into that images issue and if you could let me know which SEO plugin you are using, that'd be great. I'll make sure that one is working in the new bugfix.

  12. hollowjack
    Member
    Posted 2 years ago #

    I use SEO Ultimate, which gives me the option to set a title tag when I'm creating a post or page. I was using it along with WP Facebook Open Graph protocol before the update and it was working fine. Thanks Andrew.

  13. Andrew Ryno
    Member
    Plugin Author

    Posted 2 years ago #

    SEO Ultimate is one of the plugins we will have a fix for in 2.0.1 (launching tonight). We're just trying to test everything yet again and make sure we're fixing all known issues before pushing. Thanks!

  14. hollowjack
    Member
    Posted 2 years ago #

    Great news!

  15. Andrew Ryno
    Member
    Plugin Author

    Posted 2 years ago #

    We just pushed 2.0.1. If you could upgrade and let me know if that fixed your problem, that would be great. Thanks!

  16. hollowjack
    Member
    Posted 2 years ago #

    I haven't gotten the upgrade option yet.

  17. Andrew Ryno
    Member
    Plugin Author

    Posted 2 years ago #

    It usually takes a while for installs of WordPress to catch updates. I'd recommend either waiting a bit longer or download here: http://wordpress.org/extend/plugins/wp-facebook-open-graph-protocol/ and update manually.

  18. hollowjack
    Member
    Posted 2 years ago #

    I updated manually. The title tag issue is fixed but it's still pulling a random image. For example, when you like THIS POST the thumbnail is the 29th image on the page, even though I set a featured image. Before the update, it would pull the featured image (if there was one) or the top-most image. This is the not the end of the world (especially since most of my posts have only one image), but ideally I would have the ability to set the thumbnail via the featured image option.

  19. Andrew Ryno
    Member
    Plugin Author

    Posted 2 years ago #

    If you go here: https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.beachedmiami.com%2F2012%2F04%2F22%2Fsweatstock-2012-photos%2F do you see the featured thumbnail on there? It ideally should be the first image to show up. When I paste the link into Facebook (as if I were posting it), I see 48 images to choose from. I'm not sure which you chose, but if you could let me know if it's at least there, that would be very helpful.

    Thanks!

  20. hollowjack
    Member
    Posted 2 years ago #

    It is the first one, which is good when you have the option to choose the thumbnail. But when you use the like button, you don't have the choice. For some reason, it's choosing the 27th image.

  21. Chuck Reynolds
    Member
    Plugin Author

    Posted 2 years ago #

    Well... file that under 'weird shit facebook does'... They don't explain how the like button pulls so... in theory and in my opinion it should be the first in the array but Facebook works in mysterious ways lol

  22. hollowjack
    Member
    Posted 2 years ago #

    It's not a big deal, but it may be helpful to you to know that it was working properly before the update. Thanks for all your help!

  23. Chuck Reynolds
    Member
    Plugin Author

    Posted 2 years ago #

    which update? pre-2.0? That's because there was only one image applied not an array. Lot of feature requests for the array of images... One think I've learned by actually releasing one of my plugins is.... can't make everybody happy :/ *shrug*

  24. hollowjack
    Member
    Posted 2 years ago #

    That wasn't a complaint. I offered it as a potentially useful piece of information. I appreciate the plugin, including the option to choose a thumbnail when posting to FB, and the technical support. The only issue remaining (for me) is that it is not pulling the featured image when someone likes a post. As I said, it's not a big deal, but it is a new development that came after the latest update.

  25. Chuck Reynolds
    Member
    Plugin Author

    Posted 2 years ago #

    done. closed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic