The URL of the Open Graph object you are trying to use is this?
http://www.domain.com/object/?og:type=somesandbox:car&og:title=Some%20car
My guess is, since Facebook already parses characters :
colons for action names (i.e. graph.facebook.com/me/recipebox:cook?recipe=
), they should not be used as their own parameters.
In addition, there may be some confusion: as far as I know, the properties of Open Graph objects are not passed in URLs like this og:title=Some%20car
. They are not actually encoded on the page the URL points to through the open meta tags : <meta property="og:title" content="Some car" />
. Therefore, if you try to set Object properties with a URL, this will not work.
Remember to use the Lint Debug Tool to check the URLs of open graphics!
You probably know this, and just use the GET URL parameters to set the meta
tags. Something like that?
<meta property="og:title" content="<? echo $_GET['og:title'] ?>" />
If so, just try it without a colon :
There is some discussion about whether they are safe in URLs, but if Facebook parses them as well, it would be safer to just leave them, for example:
// http://www.domain.com/object/?ogtype=somesandbox:car&ogtitle=Some%20car <meta property="og:type" content="<? echo $_GET['ogtype'] ?>" /> <meta property="og:title" content="<? echo $_GET['ogtitle'] ?>" />
I have not tested this, just offering some suggestions. Good luck
source share