trouble with database entries and Open Graph Protocol
-
I love this plugin as it’s the only useful live blogging plugin. But I’m also in deep trouble really using it …
On my website I’m adding Facebook Open Graph Protocol tags to the source code so Facebook will grab the right thumbnail images and description when a posting be being shared.
But this doesn’t work with Live Blog entries as it seams the plugin puts (for this purpose, if not in generally speaking) the wrong content in some database fields. i.e. post_name and post_title doesn’t have useful content.
In the old plugin’s version (Live Blogging without “Plus”) post_name had the posts ID (which was good) and post_title was empty (not good).
Now in this new version, post_name and post_title has values generated through the permalink settings of WordPress which makes no sense because per definition the Live Blog entries do noch have a title, hence the permalink is something like “auto saved draft” or “auto-saved-draft-2”
So eventually these values end up in the Open Graph Procotol tags, e.g. the og:url becomes “https://mywebsite.com/auto-saved-draft-2” … Yes, this URL works, but it’s not supposed to be used anyway … and even wirse, the og:title becomes “Auto Saved Draft” which is the same title that Facebook then grabs and shows with every single Live Blogging entry shared there …
Any idea on how to solve this ussue easily?
My suggestion is giving the post_name the post’s ID as in earlier versions of this plugin an put some kind of excerpt of the live blog entry’s content (stripped by html tags and shortcode) as post_title.
Thanks for considering and kind regards
Franz
- The topic ‘trouble with database entries and Open Graph Protocol’ is closed to new replies.