Just noticed that hook_rdf_namespaces() requires the rdf module in order to add the appropriate namespaces to the HTML tag, so you should add: dependencies[] = rdf to the opengraphprotocol.info file