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

send_message no longer works #454

Open
DeanVanGreunen opened this issue Nov 4, 2024 · 2 comments
Open

send_message no longer works #454

DeanVanGreunen opened this issue Nov 4, 2024 · 2 comments

Comments

@DeanVanGreunen
Copy link

DeanVanGreunen commented Nov 4, 2024

My example code below, testing the send_message api endpoint using the conversation id from (extract the id from linkedin's webapp on desktop when viewing the conversation id from the url bar

from linkedin_api import Linkedin
api = Linkedin('MyEmailAddressHere', 'MyPassword')
result = api.send_message("Test message 1234", '2-M2I1ZDVmYzctNWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==')

result returns true

Tested with Bleeding Edge version as of a few minutes ago of this issue submission

@EseToni
Copy link

EseToni commented Nov 5, 2024

Hi @DeanVanGreunen, they work perfectly u need to provied the urn_id in recipients []
message = api.send_message(message_body='Test Message', recipients['urn_id'])
They return False if they work and True if error

@DeanVanGreunen
Copy link
Author

DeanVanGreunen commented Nov 5, 2024

Could you show me an example of what the conversation id looks like?

Or where to get the recipient id

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

No branches or pull requests

2 participants