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

More fixes for Arcade 1.0.0 #94

Merged
merged 3 commits into from
Jan 31, 2025

Conversation

nbarbettini
Copy link
Contributor

In this PR:

  • Switch to the simpler auth.start() method available in arcadejs 1.0.0 (I missed this in Update Arcade to 1.0 #93)
  • Clarify in the README the env vars that need to be set in order to post as a LinkedIn organization, regardless of the auth method.

Comment on lines +101 to +102
POST_TO_LINKEDIN_ORGANIZATION=true
LINKEDIN_ORGANIZATION_ID=
Copy link
Contributor Author

Choose a reason for hiding this comment

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

With this, I was able to post to LinkedIn as an org. Without LINKEDIN_ORGANIZATION_ID, the agent logged an error about this var being missing.

Comment on lines 103 to 109
const authResponse = await arcade.auth.start(
linkedInUserId,
"linkedin",
{
scopes,
}
)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same outcome, simpler method 👍

@bracesproul bracesproul merged commit 5ef5fc8 into langchain-ai:main Jan 31, 2025
6 checks passed
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.

2 participants