是否可以在 Facebook 应用程序中使用对象类型图像?

Is it possible to use Object type image in facebook app?(是否可以在 Facebook 应用程序中使用对象类型图像?)
本文介绍了是否可以在 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 应用程序中使用对象类型图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)