如何向我的 LinkedIn 连接发送电子邮件邀请?

发布于 2024-11-08 12:35:11 字数 131 浏览 0 评论 0原文

与 OpenID 提供商不同,LinKedIn API 不会将电子邮件 ID 返回给 RP。

那么,如果没有电子邮件 ID,如何向用户发送电子邮件呢? 此外,如何向我的 LinkedIn 连接发送电子邮件邀请以编程方式加入我的网站?

Unlike OpenID provider, LinKedIn API does not return the email ID to the RP.

So, without the email ID, how can send an email to the user?
Furthermore, how to send email invitation to my LinkedIn connects to join my web site programmatically?

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

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

发布评论

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

评论(2

司马昭之心 2024-11-15 12:35:11

LinkedIn 的邀请 API 不支持这种方式的邀请 - 邀请的目的是发送给未连接的 LinkedIn 成员,邀请他们与发送邀请的人建立联系。

如果您想通过 Messaging API 向您的联系人发送电子邮件,则不需要必须知道他们的电子邮件地址。由于您已经连接,您只需提取他们的会员 ID,并按照链接文档中的描述构建 XML。

在向所有授权用户的连接发送消息以授权网站方面,您必须确保遵循指导原则,让用户启动邮件(选择加入),查看发送的确切消息,此外,连接之间的消息传递受节流限制的约束,当前最大数量特定用户每天可以发送的消息10.

The Invitation API for LinkedIn does not support invitations in this manner - the invitations are meant to be sent to non-connected LinkedIn members, inviting them to become connections with the person sending the invitation.

If you want to send an email message to your connections via the Messaging API, you would not necessarily need to know their email address. As you are already connected, you would simply pull their Member ID, and construct the XML as described in the linked document.

In terms of sending a message to all the authorized user's connections to also authorize the website, you must be sure that you follow the guidelines, in terms of having the user initiate the mailing (opt-in), review the exact message being sent, etc. Also, messaging between connections is subject to throttle limits, with the current max number of messages a particular user can send per day being 10.

心清如水 2024-11-15 12:35:11

打开包含您要发送的所有人员的页面
邀请函:
在检查窗口中运行以下几行:

var elements = document.getElementsByClassName("artdeco-button__text");



for (var i = 0, len = elements.length; i < len; i++) {
    // send request to all people visible in my network in single click
    if(elements[i].textContent.trim()=="Connect"){elements[i].click()
    elements2 = document.getElementsByClassName("artdeco-button artdeco-button--2 artdeco-button--primary ember-view ml1");
    if(elements2.length>0){
    elements2[0].click()}}
}

由于差异,可能存在一些例外情况。

Open the Page containing all the People whom you wish to send
invitation:
Run the below lines in the inspect window:

var elements = document.getElementsByClassName("artdeco-button__text");



for (var i = 0, len = elements.length; i < len; i++) {
    // send request to all people visible in my network in single click
    if(elements[i].textContent.trim()=="Connect"){elements[i].click()
    elements2 = document.getElementsByClassName("artdeco-button artdeco-button--2 artdeco-button--primary ember-view ml1");
    if(elements2.length>0){
    elements2[0].click()}}
}

There might be some exceptions, due to discrepancy.

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