Is it possible to use Object type image in facebook app?(是否可以在 Facebook 应用程序中使用对象类型图像?)
问题描述
当我尝试为我的 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 应用程序中使用对象类型图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:是否可以在 Facebook 应用程序中使用对象类型图像
基础教程推荐
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 如何替换eregi() 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
