如何从iOS应用程序共享Linkedin中的文本和url。没有oAuth2身份验证是可能的吗?如果没有,任何人可以帮助我简单地进行oAuth2集成和共享。
发布于 2020-05-30 19:24:05
其实很简单。只需使用以下格式填写您的URL ..。
https://www.linkedin.com/sharing/share-offsite/?url={url}
但是,你可能也想分享其他的信息,对吧?比如title
,description
,还有其他的好东西。使用header中的og:
元标记来实现这一点,就像.
<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" />
资料来源:官方微软“使你的网站可以在LinkedIn上共享”文档.
想确保你做得对吗?这是最简单的部分。复制你想要分享的网站的网址,比如example.com
,然后在这里输入.
发布于 2015-06-26 06:36:06
不,
在没有身份验证的情况下不可能利用共享Api。LinkedIN有它的Rest,您可以使用它
https://developer.linkedin.com/docs/share-on-linkedin
要试用一下APIs,可以在阿皮吉上玩
面向8月2.0的Git图书馆
https://stackoverflow.com/questions/31066349
复制相似问题