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

get_company_updates yields duplicate posts #211

Open
bnvsp opened this issue Mar 31, 2022 · 2 comments
Open

get_company_updates yields duplicate posts #211

bnvsp opened this issue Mar 31, 2022 · 2 comments

Comments

@bnvsp
Copy link

bnvsp commented Mar 31, 2022

I'm trying to use get_company_updates for a list of distinct companies, but it yields similar company updates for all of them.

from linkedin_api import Linkedin
L_API = Linkedin(
    username="xxxxx",
    password="xxxxx"
)
companies = ["public_id_1", "public_id_2", "public_id_3"]
for company_id in companies:
    company_posts = L_API.get_company_updates(public_id=company_id)

The above loop yields "public_id_1" company updates for rest of other companies in the list.

@sagard21
Copy link

sagard21 commented Apr 18, 2022

I've fixed it. Created a PR #212

Worked for me.

@bnvsp
Copy link
Author

bnvsp commented May 25, 2022

Thanks a ton for fixing this up, will check it out and let you know!

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