在LinkedIn上共享“说明"字段未在新UI中显示 [英] Share On LinkedIn Description field not displayed in new UI

查看:38
本文介绍了在LinkedIn上共享“说明"字段未在新UI中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过LinkedIn上的Share on API在新用户界面上为用户发布的帖子最多显示在他们的帐户中:用户消息/评论,图像,标题和链接域.但是,LinkedIn API上的文档(
GitHub: 测试网站,仅提供说明,进行验证,并显示已确认.当然,官方Microsoft LinkedIn Share文档没有提及任何内容,但现实再次与Microsoft的理解直接冲突.

Posts made via the Share on LinkedIn API for users on the new user interface appear on their accounts with at most: a user message/comment, image, title, and link domain. However, the documentation on the Share on LinkedIn API (https://developer.linkedin.com/docs/share-on-linkedin) describes that the request body can also contain a "description" field with text up to 256 characters. When the description and all the post fields are provided explicitly to the API (as in the example in the documentation), the description field does not appear for users on the new UI. The description field did appear for users when they were on the old UI.

The Share on LinkedIn API provides an additional option for sharing by omitting the post details fields (title, image, description), and allowing LinkedIn to generate the post based on the Open Graph data it finds at the link URL. However, the result is the same as above for users on the new UI.

Is this a bug, or is the documentation out-of-date?

解决方案

These are your only options. Choose one:

  • Share image.
  • Share description.

If you try to share both, you will only see an image.

I argued with LinkedIn support about this for two weeks I've also directly contacted many of the developers. They have agreed that this is the logic and this is how it is designed to work. I tested this theory out on Wikipedia (has a description, no image) and GitHub (has both description and image). Results:

Wikipedia: Description ONLY -- Works (but no image)!
GitHub: Image ONLY -- Works (but no description)!

I made test site, with only description, to verify this, and it appears confirmed. Sure, the Official Microsoft LinkedIn Share Documentation makes no mention whatsoever of this, but once again, reality is in direct conflict with Microsoft's understanding.

这篇关于在LinkedIn上共享“说明"字段未在新UI中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆