open-sauced / ai

Discover open-source projects on GitHub relevant to your skills (with ai).
https://opensauced.ai
MIT License
70 stars 30 forks source link

Feature: Incorporate Linkedin features #58

Closed bdougie closed 1 year ago

bdougie commented 1 year ago

Type of feature

🍕 Feature

Current behavior

This extension should include linkedin data

Suggested solution

Features

  1. Update projects on LinkedIn project
  2. Including ability to modify LinkedIn
  3. List previous experience in the dropdown.
Screen Shot 2023-05-01 at 6 51 58 AM

Additional context

No response

Code of Conduct

Contributing Docs

a0m0rajab commented 1 year ago

The add-to profile and project can be added by a direct link:

Example link: https://www.linkedin.com/profile/add?startTask=CERTIFICATION_NAME&name=Test%20Certificate&organizationName=LinkedIn&issueYear =2018&issueMonth=2&expirationYear=2020&expirationMonth=5&certUrl=https%3A%2F%2Fdocs. microsoft.com%2Fen-us%2Flearn%2Fcertifications%2Fd365-functional-consultant-sales&certId=1234

Reference: https://addtoprofile.linkedin.com/

Plus, we can add share on LinkedIn button: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin where they can share the merged PR to LinkedIn directly with AI-generated text

bdougie commented 1 year ago

Plus, we can add share on LinkedIn button: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin where they can share the merged PR to LinkedIn directly with AI-generated text

We would want that to be a highlight and not a share directly linkedin. The purpose of this extension is to drive awareness of OpenSauced.

We also are not looking to add certificates, but rather create projects. Is there a project URL?

https://www.linkedin.com/profile/add?profileFormEntryPoint=PROFILE_SECTION&name=contribution

update:

you can get the linkedin_url from the OpenSauced API - linkedin_url We can ask the for it if they haven't provided it.

a0m0rajab commented 1 year ago

If the goal is to drive awareness then why not to connect linkedin post sharing with highlight to do a sync share?

As for the link, I played around and found this: https://www.linkedin.com/in/me/edit/forms/project/new/?profileFormEntryPoint=PROFILE_COMPLETION_HUB (it worked on my side) But did not find something similar to the one related to adding certificates, The issue is that I could not prefill it right now, will need to further investigate that. But as a solution, we can populate it from the extension directly if it's needed.

Update:

we can use LinkedIn API as well, but that might need extra work. https://learn.microsoft.com/en-us/linkedin/shared/integrations/people/profile-edit-api/projects

a0m0rajab commented 1 year ago

Another option would be using LinkedIn API: https://learn.microsoft.com/en-us/linkedin/shared/integrations/people/profile-edit-api/projects which would require authentication and other things.

If we went with the link provided in the previous comment we can do it this way:

  1. the user will click add to linkedin
  2. we will open a new tab and send the information to it
  3. we will wait the load of the page
  4. when it's loaded the extension will autofill the linkedin form
  5. ask the user to control and submit it

How to send data between tabs, This is implemented at #101

a0m0rajab commented 1 year ago

To do this we can request this URL: https://api.github.com/repos/open-sauced/ai and get the homepage and description, if homepage is empty we can use html_url and if the description is empty we can write a generic thing, and use the full_name for the name.

a0m0rajab commented 1 year ago

I am thinking to do this with the popup and using content script to fill the fields in the LinkedIn form, how do you feel about that?

a0m0rajab commented 1 year ago

I think I have solved this without the need to have sendMessage, I am going to use the next: chrome.scripting, the issue with this was that I could not figure out how to get the file scripts to run. But found a solution by using a path relevant to manifest file..

Will open a PR in the next few days.

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.9.0-beta.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.9.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: