当我尝试为我的 facebook 应用程序指定图像的对象类型时,它说它是保留的......所以我的问题是我如何去创建这个对象类型......或者我不创建一个对象为我所有的媒体类型输入和使用 og 类型的文章...对任何回复者表示亲切的问候...J
When I try and specify a object type of image for my facebook app, it says that it is reserved... so my question is how do i go about creating this object type... or do I not create an object type and use og type article for all my media types... kind regards to any repsonders... J
您可以在应用程序 namespace
中创建您想要的任何类型(请参阅 配置对象类型),然后在您的 OpenGraph 标签中使用它:
You may create whatever types you want within your application namespace
(see Configuring Object Types) and later use that in your OpenGraph tags:
<meta property="og:type" content="your-og-app:your-type">
如果你想使用特定的内置类型:
If you want to use that specific built-in type:
为了在您的应用程序中使用内置对象类型,您需要在开发应用程序中注册它们.
In order to use build-in object types in your app, you will need to register them in the Dev App.
此外,我们还创建了一组预定义的元标记组,它们可以用作任何 Open Graph 对象的属性,称为 复杂类型.应用程序应尽可能将这些类型用于属性,以帮助显示和聚合操作和对象.因为类型不是对象类型,所以没有实例.相反,复杂类型的值包含在使用它们的对象中.
In addition, we have have created a set of predefined groups of meta tags that can be used as a property of any Open Graph object, called complex types. Apps should use these types for properties where possible to help the display and aggregation of actions and objects. Because types are not object types, there are no instances. Rather, the values for a complex type are contained in the object that uses them.
这篇关于是否可以在 Facebook 应用程序中使用对象类型图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!