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

Improve Twitter agents #3230

Merged
merged 1 commit into from Mar 12, 2023
Merged

Improve Twitter agents #3230

merged 1 commit into from Mar 12, 2023

Conversation

knu
Copy link
Member

@knu knu commented Mar 11, 2023

Twitter announced that Twitter APIs will no longer be free and they may discontinue the existing APIs in near future, but they are still available and useful for the time being, and I'd like to improve our Twitter agents even though the days are limited.

  • TwitterFavorites, TwitterSearchAgent, and TwitterUserAgent can now dry run.
  • Correct event descriptions; the key should be full_text instead of text except for TwitterStreamAgent.
  • Events now include expanded_text in which shortened t.co URLs are expanded to their original URLs.
  • Refactor and reformat code.

@knu knu force-pushed the improve_twitter_agents branch 2 times, most recently from b1d121d to 19d27e9 Compare March 11, 2023 14:57
- TwitterFavorites, TwitterSearchAgent, and TwitterUserAgent can now dry run.
- Correct event descriptions; the key should be `full_text` instead of `text` except for TwitterStreamAgent.
- Events now include `expanded_text` in which shortened t.co URLs are expanded to their original URLs.
- Refactor and reformat code.
@knu
Copy link
Member Author

knu commented Mar 12, 2023

I deployed this to my instance yesterday and these agents have been running fine.

@knu knu merged commit b536b94 into master Mar 12, 2023
@knu knu deleted the improve_twitter_agents branch March 12, 2023 10:50
knu added a commit that referenced this pull request Mar 12, 2023
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.

None yet

1 participant