Facebook OpenGraph DateTime attribute using only date processed as DateTime

I'm having problems with the Facebook OpenGraph attribute and the DateTime that I set on my page.

The tag is as follows:

 <meta content="2013-06-10" property="app:departing_on" /> 

The tag is correctly set as DateTime in the OpenGraph type. I use it to create a new story. When I simulate a post, it changes the time zone to match mine (UTC-3), so I get it on June 09, 2013 at 21:00. This event is only for a date, so in fact I do not have time to display, just a date.

Can I get Facebook to parse it as a date?

+8
facebook opengraph facebook-opengraph
source share
3 answers

Can I get Facebook to parse it as a date?

This is what seems to be doing now, but it looks like you don't want it.

I think Facebook docs call the Precise-time format , maybe this is what you should use:

Exact time (e.g. '2012-07-04T19: 00: 00-0700'): Events that start at a specific point in time, at a specific offset from UTC. In this way, new Facebook events track time and allow users to view events in different time zones.

What formats can you use to indicate the type of OG date that you can see here, https://developers.facebook.com/docs/opengraph/property-types/#simple

+1
source share

Can I get Facebook to parse it as a date?

Not. Facebook does not support the Date property, but only the DateTime property. Although you do not have to specify the time part of DateTime , the property nonetheless includes a time component and is recorded as such. Facebook wants events to happen at a specific point in time, not a range like a date.

+1
source share

When searching for documentation on Facebook, it appears that the time format is optional, as on this documentation page: https://developers.facebook.com/docs/sharing/opengraph/object-properties ( DateTime search).

0
source share

All Articles