Facebook JSON API 'Linting' URL
Facebook JSON API for 'Linting' URL
Facebook Open Graph Debugger 在获取 URL 并将其解析/加载到标题/描述/图片等方面做得非常出色。API 是否公开了 JSON 格式或类似的服务是否存在 'linting' URL 更富有 objects?我正在尝试进行 iOS 集成。显然,如果可能的话,我想避免自己解析 XML 和提取元数据。
https://developers.facebook.com/docs/sharing/opengraph/using-objects#update
“This Graph API endpoint is simply a call to: POST /?id={object-instance-id or object-url}&scrape=true
The response from this endpoint will be a JSON object that contains all the information about the object that was scraped (the same data returned when the Object ID is read from the Graph API).”
Facebook Open Graph Debugger 在获取 URL 并将其解析/加载到标题/描述/图片等方面做得非常出色。API 是否公开了 JSON 格式或类似的服务是否存在 'linting' URL 更富有 objects?我正在尝试进行 iOS 集成。显然,如果可能的话,我想避免自己解析 XML 和提取元数据。
https://developers.facebook.com/docs/sharing/opengraph/using-objects#update
“This Graph API endpoint is simply a call to:
POST /?id={object-instance-id or object-url}&scrape=true
The response from this endpoint will be a JSON object that contains all the information about the object that was scraped (the same data returned when the Object ID is read from the Graph API).”