我在使用已标记的Google商家信息而不是Facebook商家信息发布操作(使用OpenGraph)时出现问题。 根据以下文档,它应该是直截了当的: https : //developers.facebook.com/docs/opengraph/location_tagging/#third_party
但每次我尝试使用place = http:// GOOGLE_PLACE_URL发布操作时,都会收到以下错误消息:
您尝试发布的操作无效,因为指定的地点“http:// GOOGLE_PLACE_URL”无效。
我试图将谷歌地图,Google地方信息和Google+本地网址放在一起,但所有问题都存在同样问题。
注意:当我设置“place = Facebook_Place_ID”时,我可以成功发布操作。
非常感谢任何帮助或提示!
谢谢,
I'm having problem publishing actions (using OpenGraph) with tagged Google Places instead of Facebook Place. It should be straight forward according to the following document: https://developers.facebook.com/docs/opengraph/location_tagging/#third_party
But every time I try to publish an action with place=http://GOOGLE_PLACE_URL I get the following error message:
The action you're trying to publish is invalid because the specified place 'http://GOOGLE_PLACE_URL' is invalid.
I've tried to put Google Maps, Google Places and Google+ Local URLs but all with the same problem.
Note: I could successfully publish actions when I set "place=Facebook_Place_ID".
Any help or hint is greatly appreciated!
Thank you,
最满意答案
我不认为Google的地方页面有支持Open Graph所需的标记
从文档:
使用第三方场所发布操作与上面的位置标记示例类似,不同之处在于您将URL传递到另一个站点的place对象。
文档中的foursquare示例被定义为一个地方,以及foursquare使用的元数据: https : //foursquare.com/v/eataly/4c5ef77bfff99c74eda954d3
有关该URL的Facebook调试工具 ,请访问https://developers.facebook.com/tools/debug/og/object?q=https%3A%2F%2Ffoursquare.com%2Fv%2Feataly%2F4c5ef77bfff99c74eda954d3 - 它清楚地显示了foursquare的位置被定义为og:type playfoursquare:venue并且有可用于Facebook的位置数据 - 我怀疑谷歌在他们的地方页面上没有这个
I don't think Google's place pages have the markup necessary to support Open Graph
From the documentation:
Publishing actions with 3rd party places is similar to the location tagging example above, except that you will pass in the url to another site's place object.
The foursquare example in the documentation is defined as a place, as well as having the metadata foursquare uses: https://foursquare.com/v/eataly/4c5ef77bfff99c74eda954d3
See Facebook's Debug Tool for that URL at https://developers.facebook.com/tools/debug/og/object?q=https%3A%2F%2Ffoursquare.com%2Fv%2Feataly%2F4c5ef77bfff99c74eda954d3 - it clearly shows that foursquare's place is defined as og:type playfoursquare:venue and has location data available for Facebook - i suspect Google does not have this on their place pages
更多推荐
发布评论