問題描述
當我嘗試為我的 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 應用程序中使用對象類型圖像?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!