Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Connect with Email Feature #188

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

brianpetro
Copy link

client.connect_by_email("[email protected]") sends the LinkedIn user with "[email protected]" an invitation to connect.

'body' => "I'd like to add you to my professional network on LinkedIn.",
'recipients' => {
'values' => [{
'person' => { '_path' => "/people/email=#{email}" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should make sure to URI escape the email.

@hexgnu
Copy link
Owner

hexgnu commented Dec 6, 2013

Please write a good test for this as well :) and I'll merge it in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants