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

LinkedIn Client #973

Merged
merged 1 commit into from
Dec 11, 2024
Merged

LinkedIn Client #973

merged 1 commit into from
Dec 11, 2024

Conversation

bkellgren
Copy link
Contributor

Risks

Medium - Rate Limiting - Dependent on adhering to rate limits which we have tried to help developers with via defaults
Medium - I've done minimal testing so far, please halp!

Background

What does this PR do?

New client for supporting Eliza integrating with LinkedIn

Documentation changes needed?

I include a README but maybe some mention in the main Eliza README would be nice

Testing

I minimally tested but would love more help testing further.

Discord username

yourfriendbrett

@odilitime odilitime added the Plugin_new Mark PRs that are a new plugin label Dec 10, 2024
@lalalune lalalune merged commit 95e6ae7 into elizaOS:main Dec 11, 2024
1 check passed
@MuhovTheDev
Copy link

@bkellgren can I contact you and can we talk somehow? What is your twitter account?

@MuhovTheDev
Copy link

@bkellgren we want to help you in regarding Brett, and his token. Please contact me somehow.

@amesemyta1
Copy link

Hi. How can I install this plugin? When I run the installation I get an error

deval@superagi:~/eliza$ pnpm add @ai16z/client-linkedin  ERR_PNPM_ADDING_TO_ROOT  Running this command will add the dependency to the workspace root, which might not be what you want - if you really meant it, make it explicit by running this command again with the -w flag (or --workspace-root). If you don't want to see this warning anymore, you may set the ignore-workspace-root-check setting to true. deval@superagi:~/eliza$ cd client deval@superagi:~/eliza/client$ pnpm add @ai16z/client-linkedin .. |  WARN  node_modules` is present. Lockfile only installation will make it out-of-date
 ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/@ai16z%2Fclient-linkedin: Not Found - 404

This error happened while installing a direct dependency of /home/deval/eliza/client

@ai16z/client-linkedin is not in the npm registry, or you have no permission to fetch it.

No authorization header was set for the request.
.. | Progress: resolved 1, reused 0, downloaded 0, added 0
deval@superagi:/eliza/client$ pnpm install
Scope: all 35 workspace projects
.. | -148 ---------------
.. | Progress: resolved 0, reused 148, downloaded 0, added 0, done
../packages/plugin-node postinstall$ node scripts/postinstall.js
│ Skipping playwright installation on unsupported platform: linux
└─ Done in 38ms
Done in 5s
deval@superagi:
/eliza/client$ cd ../
deval@superagi:/eliza$ cd agent
deval@superagi:
/eliza/agent$ pnpm add @ai16z/client-linkedin
.. |  WARN  node_modules is present. Lockfile only installation will make it out-of-date
 ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/@ai16z%2Fclient-linkedin: Not Found - 404

This error happened while installing a direct dependency of /home/deval/eliza/agent

@ai16z/client-linkedin is not in the npm registry, or you have no permission to fetch it.

No authorization header was set for the request.
.. | Progress: resolved 1, reused 0, downloaded 0, added 0
deval@superagi:~/eliza/agent$`

@themeshri
Copy link

same issue
if you find a solution please share it with me

@amesemyta1
Copy link

From what I did
in the file eliza\agent\src\index.ts I added import { LinkedInClientInterface } from '@ai16z/client-linkedin';
if (clientTypes.includes("linkedin")) {
const linkedInClients= await LinkedInClientInterface.start(runtime);
clients.push(linkedInClients);
}
in the file .env I added
LINKEDIN_USERNAME=
LINKEDIN_PASSWORD=
LINKEDIN_DRY_RUN=false
POST_INTERVAL_MIN=10
POST_INTERVAL_MAX=30
and in characters I added "clients": ["linkedin"]

I did pnpm build
and now I get these errors
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Plugin_new Mark PRs that are a new plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants