离线时是否可以使用 linkedin api 分享消息

发布于 2024-11-13 02:27:24 字数 105 浏览 1 评论 0原文

是否可以存储授予接受应用程序权限的用户的 ID,然后在用户完成操作但未登录 linkedin 时发布“共享”?我已经用 Facebook 做到了这一点,但目前正在努力了解 oauth/链接到库中。

is it possible to store the id of a user who grants permission to accept the app and then post a "share" when the user completes an action but they are not logged into linkedin? i have done this with facebook but currently struggling to get my head around the oauth/linked in libraries.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

你没皮卡萌 2024-11-20 02:27:24

是的,一旦用户授权了您的应用程序,您就可以存储用户的 oauth 令牌,并在用户触发共享/更新等时使用这些令牌通过 API 更新 LinkedIn。

唯一的技巧是在用户拒绝您的应用程序的访问权限;过滤来自 LinkedIn API 的所有响应,查找指示访问令牌不再有效的错误(无论如何,您都应该执行此过滤以解决限制问题)。

Yes, once the user has authorized your application, you can store the user's oauth tokens and use those to update LinkedIn via the API when a user trigers a share/update, etc.

The only trick is to cover yourself in the case that the user rejects your application's access rights; filter all responses from the LinkedIn API looking for an error indicating that the access token is no longer valid (you should be doing this filtering anyways for throttling issues).

浅笑依然 2024-11-20 02:27:24

LINKEDIN API 没有适当的文档..至于我如何使用它..SKuS 提供的示例代码

LINKEDIN API has no proper documentation..as to how i can use it..sample code which is provided SKuS

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文