I have several content types that are scheduled events. As things are now, I can only select article as the og type. According to http://developers.facebook.com/docs/reference/opengraph/object-type/event, this is what it should be listed as. I tried to hack the module myself, and I was able to add the event og type. Facebook didn't like it because the page also needs event:start_time. My node does have the start date time, but if I'm reading the Facebook error correctly, it want's it in php date_time format. Mine is in a readable format.
Do you think this could be possibly added to the module?

Files: 
CommentFileSizeAuthor
#13 metatag_opengraph-add_more_open_graph_tags-2026343-12.patch1020 bytesskruf
PASSED: [[SimpleTest]]: [MySQL] 73 pass(es).
[ View ]
#10 metatag_opengraph-add_more_open_graph_tags-2026343-10.patch1022 bytesskruf
PASSED: [[SimpleTest]]: [MySQL] 73 pass(es).
[ View ]
#6 metatags_opengraph-add_more_opengraph_types_and_tags-2026343-6.patch1.24 KBvalkum
FAILED: [[SimpleTest]]: [MySQL] Repository checkout: failed to create dependency directory.
[ View ]

Comments

Title:I would like to use og type eventI would like to use og type event and publisher

I also found that article:publisher is becoming more important as of late. I hacked the module metatag_opengraph.metatag.inc adding this:

<?php
  $info
['tags']['article:publisher'] = array(
   
'label' => t('Open Graph article publisher'),
   
'description' => 'Facebook address of website publisher',
   
'class' => 'DrupalTextMetaTag',
   
'group' => 'open-graph',
   
'element' => array(
     
'#theme' => 'metatag_opengraph',
    ),
  );
?>

This seems to work fine.

Title:I would like to use og type event and publisherAdd more Open Graph tags & options
Version:7.x-1.0-unstable3» 7.x-1.x-dev

Lets focus this on identifying other OG tags & tag options that would be useful to have.

It seem like they have been changing things around a lot lately. I've been trying to keep up.

According to https://developers.facebook.com/blog/post/2013/06/19/platform-updates--n..., Facebook now has article:publisher and article:author. Can those be added to the next release?

Thanks!

Hmm i think the best for a short result would be some hooks in _metatag_opengraph_type_options and metatag_opengraph_metatag_info

Then you can add more Modules, which will add specific og types etc.

Status:Active» Needs work
StatusFileSize
new1.24 KB
FAILED: [[SimpleTest]]: [MySQL] Repository checkout: failed to create dependency directory.
[ View ]

Here is some work done by me.

Added a module for opengraph events. But there ist a bug with event:fbid (https://developers.facebook.com/bugs/321976687938505?browse=external_tas...)

Patch needs a bit more work.

Check for token with date for event:start_time in format: e.g 2013-09-07T16:00:00+0200 or create one.

Maybe move event tags into new metatag group but its only a visual thing.

Status:Needs work» Needs review

Status:Needs review» Needs work

StatusFileSize
new1022 bytes
PASSED: [[SimpleTest]]: [MySQL] 73 pass(es).
[ View ]

Here's a patch to add the article publisher and author tags as specified here:

https://developers.facebook.com/blog/post/2013/06/19/platform-updates--n...

Issue summary:View changes
Status:Needs work» Needs review

Status:Needs review» Needs work

There's a tiny typo: "Links and article" should be : "Links an article"

Status:Needs work» Needs review
StatusFileSize
new1020 bytes
PASSED: [[SimpleTest]]: [MySQL] 73 pass(es).
[ View ]

Updated with typo fix

Status:Needs review» Needs work

Another small typo - it should be "author's" and "publisher's".

Also, would you mind expanding this to cover the other article sub-tags?

Assigned:Unassigned» skruf

Sure, I'll take this on.