-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
feat: twitter client enhancements #913
feat: twitter client enhancements #913
Conversation
Requesting review of changes implemented as per @cygaar feedback: Changes Implemented
Key Updates
|
Is it working? Because my agent is interacting with everyone from my twitter timeline. Do It need the xAPI? or something like this to work? or at least see only my followers timeline? |
It works,if you give usernames in twitter_target_users in .env |
Relates to:
Issue related to Twitter client enhancements and environment configuration
Risks
Low - Changes to Twitter target users configuration and environment example file. No core functionality changes.
Background
What does this PR do?
Adds dynamic Twitter target users configuration through environment variables(agent can interact with these user tweets even if it is not mentioned)
Updates .env.example with Twitter-related configuration examples
Improves error handling for wallet providers in Twitter client
Enhances Twitter interaction handling
What kind of change is this?
Improvements (misc. changes to existing features)
Documentation changes needed?
My changes require a change to the project documentation.
Updated .env.example with new Twitter configuration options
Documentation for Twitter target users configuration
Testing
Where should a reviewer start?
Check the updated .env.example file for new Twitter configurations
Review changes in packages/client-twitter/src/interactions.ts
Detailed testing steps
Copy .env.example to .env
Configure TWITTER_TARGET_USERS with comma-separated usernames
Run the Twitter client
Bot responds to configured target users
Error handling works for wallet provider issues
Twitter interactions are properly processed
Deploy Notes
New environment variable TWITTER_TARGET_USERS needs to be configured if using custom target users
Database changes
no database changes needed
Discord username
tharakesh5545