{"success":true,"url":"https://github.com/","checked_at":"2026-05-05T13:18:07.581Z","meta_tags":{"og_title":"GitHub · Change is constant. GitHub keeps you ahead.","og_description":"Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.","og_image":"https://images.ctfassets.net/8aevphvgewt8/4pe4eOtUJ0ARpZRE4fNekf/f52b1f9c52f059a33170229883731ed0/GH-Homepage-Universe-img.png","og_image_width":null,"og_image_height":null,"og_url":"https://github.com/","og_type":"object","twitter_card":"summary_large_image","twitter_title":"GitHub · Change is constant. GitHub keeps you ahead.","twitter_description":"Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.","twitter_image":"https://images.ctfassets.net/8aevphvgewt8/4pe4eOtUJ0ARpZRE4fNekf/f52b1f9c52f059a33170229883731ed0/GH-Homepage-Universe-img.png","fallback_title":"GitHub · Change is constant. GitHub keeps you ahead. · GitHub","fallback_description":"Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity."},"image":{"url":"https://images.ctfassets.net/8aevphvgewt8/4pe4eOtUJ0ARpZRE4fNekf/f52b1f9c52f059a33170229883731ed0/GH-Homepage-Universe-img.png","reachable":true,"content_type":"image/png","file_size_kb":604,"width":null,"height":null},"platforms":{"facebook":{"status":"pass","score":100,"issues":[]},"linkedin":{"status":"pass","score":100,"issues":[]},"twitter":{"status":"pass","score":100,"issues":[]},"whatsapp":{"status":"pass","score":100,"issues":[]}},"summary":{"overall_status":"pass","total_issues":0,"errors":0,"warnings":0,"platforms_passing":4}}
curl --location --request GET 'https://zylalabs.com/api/12506/social+preview+qa+api/23805/check?url=https://github.com' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 社交预览 QA API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
该API返回一个综合的JSON报告,包括每个平台(Facebook LinkedIn Twitter WhatsApp)的通过/失败状态和分数(0-100)检测到的问题列表和严重程度级别通俗易懂的修复说明以及图像元数据如尺寸和文件大小
响应中的关键字段包括 `success` `url` `checked_at` `meta_tags`(包含 Open Graph 和 Twitter Card 数据)`platform_scores` `issues`(带有严重性)和 `image_metadata`(尺寸和文件大小)
响应以JSON格式构建,包含顶层对象,内含成功状态、检查的URL、时间戳,以及嵌套对象用于元标签、平台评分、问题和图像元数据,便于解析和使用
API提供有关Open Graph和Twitter Card标签的信息,包括图像可用性和尺寸、标题和描述的字符限制,以及HTTPS合规性,确保URL经过优化以便于社交媒体分享
用户可以通过向API端点发送不同的URL来自定义请求。每个URL将触发一个验证过程,检查支持的社交媒体平台的特定元标签和图像要求
典型的用例包括网页机构在发布前验证客户网站 CMS平台在发布时检查页面 营销团队监测活动登陆页面和开发者将社交媒体预览检查集成到SEO工具中
数据准确性通过实时获取提供的 URL 来保持,确保分析最新的元标签和图像。API 检查损坏的标签和图像的可用性,为用户提供可靠的验证结果
用户可以通过查看合格/不合格分数来识别问题,按照通俗易懂的修复说明解决问题,并确保图像符合所需的尺寸,以便获得最佳的社交媒体预览