【问题标题】:Linkedin share api not picking up open-graph meta tagsLinkedin 分享 api 没有选择开放图元标签
【发布时间】:2018-02-02 14:23:34
【问题描述】:

我正在通过共享 api 共享一个 URL“https://timesofindia.indiatimes.com/trend-tracking/jaitley-promises-robust-tax-regime-for-investors/articleshow/62741496.cms?utm_source=linkedin.com&utm_medium=social&utm_campaign=TEST-LINKEDIN”,但没有从 og:image 标记中获取图像(即 meta property="og:image" content="https://example.com" )。

但是当我尝试从linkedin 管理页面共享相同的 url 时,它正在拾取图像。这意味着图像遵循linkedin要求的所有尺寸标准和其他东西。

那为什么分享api没有从open graph标签中获取图片url。

【问题讨论】:

    标签: linkedin linkedin-api


    【解决方案1】:

    如果您认为您的分享格式正确,但无法正常工作,我要做的第一件事就是前往LinkedIn Post Inspector,它会检查您的网址并查找问题。

    但是,您的 URL 看起来不错!您是否像这样共享,并使用正确的 URL 编码?

    https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Ftimesofindia.indiatimes.com%2Ftrend-tracking%2Fjaitley-promises-robust-tax-regime-for-investors%2Farticleshow%2F62741496.cms%3Futm_source%3Dlinkedin.com%26utm_medium%3Dsocial%26utm_campaign%3DTEST-LINKEDIN
    

    因为这个链接对我有用!看看:

    有时您只需要另一双眼睛来解决同一个问题!希望这会有所帮助!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-03-15
      • 1970-01-01
      • 1970-01-01
      • 2020-07-06
      • 2017-08-23
      • 2012-01-18
      • 1970-01-01
      相关资源
      最近更新 更多