是否可以在Facebook应用程序中使用对象类型图像? [英] Is it possible to use Object type image in facebook app?

查看:87
本文介绍了是否可以在Facebook应用程序中使用对象类型图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试指定一个对象类型的图像为我的Facebook应用程序,它说它是保留的...所以我的问题是如何去创建这个对象类型...或者我不创建一个对象键入并使用og类型的文章为所有我的媒体类型...善意的任何repsonders ... J

解决方案

你可以在您的应用程序命名空间中创建所需的类型(请参阅配置对象类型),然后在OpenGraph标签中使用它:

 < meta property =og:typecontent =your-og-app:your-type> 

如果要使用特定的内置类型:


为了在您的应用程序中使用内置对象类型,您需要在 Dev App 。另外,我们已经创建了一组预定义的元标记组,可以用作任何Open Graph对象的属性,称为复杂类型。应用程序应尽可能使用这些类型的属性来帮助显示和聚合动作和对象。因为类型不是对象类型,所以没有实例。相反,复杂类型的值包含在使用它们的对象中。



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

解决方案

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.

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应用程序中使用对象类型图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆