参考下面提到的链接,我们已经在Facebook上进行了分享。现在我们的客户也想要同样的LinkedIn体验。
有没有人可以建议一种方法或方法来为LinkedIn实现同样的体验
脸书参考链接:Using "share_open_graph" Facebook UI to create dynamic share dialog for quiz results
发布于 2020-08-01 03:20:00
第1步:设置共享URL
https://www.linkedin.com/sharing/share-offsite/?url={url}来源:
第2步-处理标题、描述、图像等
将这些代码放入你的超文本标记语言的<head>块中,既然你已经在为Facebook这样做了,这一部分现在就应该完成了……
<meta property='og:title' content='Title of the article'/><meta property='og:image' content='//media.example.com/ 1234567.jpg'/><meta property='og:description' content='Description that will show in the preview'/><meta property='og:url' content='//www.example.com/URL of the article' />来源:
第3步-验证一切正常
在上检查你的网址。在此处插入您的网址(例如example.com),而不是您要与之共享的网址(例如linkedin.com?url=example.com)。
https://stackoverflow.com/questions/45775448
复制相似问题