-
Notifications
You must be signed in to change notification settings - Fork 44.6k
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(platform): Add Twitter integration #8754
base: dev
Are you sure you want to change the base?
feat(platform): Add Twitter integration #8754
Conversation
This PR targets the Automatically setting the base branch to |
✅ Deploy Preview for auto-gpt-docs canceled.
|
wooo thanks for this. Testing & reviewing! one thing to fix the CI, please run what it's asking for poetry lock --no-update |
Sorry, I haven't fixed some block tests after making changes. I will make the tests work by tomorrow. |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
@aarushik93 @Bentlybro @Torantulino The main issue in this file is with the node-input-component file. Summary:
|
autogpt_platform/autogpt_libs/autogpt_libs/supabase_integration_credentials_store/store.py
Outdated
Show resolved
Hide resolved
autogpt_platform/autogpt_libs/autogpt_libs/supabase_integration_credentials_store/store.py
Outdated
Show resolved
Hide resolved
autogpt_platform/autogpt_libs/autogpt_libs/supabase_integration_credentials_store/store.py
Outdated
Show resolved
Hide resolved
autogpt_platform/autogpt_libs/autogpt_libs/supabase_integration_credentials_store/store.py
Outdated
Show resolved
Hide resolved
- Updated `store.py` to improve state token management by adding PKCE support and simplifying code challenge generation. - Modified environment variable names in `.env.example` for consistency. - Removed unnecessary `is_multi_select` attributes from various Twitter-related input schemas to streamline the code. - Cleaned up exception handling in Twitter list management and tweet management blocks by removing redundant error logging. - Removed debug print statements from various components to clean up the codebase. - Fixed a minor error message in the Twitter OAuth handler for clarity.
e0712a3
to
07ef229
Compare
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
TODO:
|
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
@@ -58,6 +58,11 @@ GITHUB_CLIENT_SECRET= | |||
GOOGLE_CLIENT_ID= | |||
GOOGLE_CLIENT_SECRET= | |||
|
|||
# Twitter/X OAuth App server credentials - https://developer.x.com/en/products/x-api | |||
TWITTER_CLIENT_ID= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Be more clearr with what these are and where to get them. Do I need to setup User Authentication Settings?
Other wise, I can get and post tweets. I don't have a paid API account so can't do much past that cc @Torantulino |
fixed and pushed merge conflict issue
|
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Create a Twitter integration with some small frontend changes.
Changes
_types.py
for repetitive enums and input types._builders.py
for creating parameters without repeating the same logic._serializer.py
to serialize the Tweepy enums into dictionaries so they can travel easily from Pyro5._mappers.py
to map the frontend values to the correct request values.Blocks
TwitterBookmarkTweetBlock
TwitterGetBookmarkedTweetsBlock
TwitterRemoveBookmarkTweetBlock
TwitterHideReplyBlock
TwitterUnhideReplyBlock
TwitterLikeTweetBlock
TwitterGetLikingUsersBlock
TwitterGetLikedTweetsBlock
TwitterUnlikeTweetBlock
TwitterPostTweetBlock
TwitterDeleteTweetBlock
TwitterSearchRecentTweetsBlock
TwitterGetQuoteTweetsBlock
TwitterRetweetBlock
TwitterRemoveRetweetBlock
TwitterGetRetweetersBlock
TwitterGetUserMentionsBlock
TwitterGetHomeTimelineBlock
TwitterGetUserTweetsBlock
TwitterGetTweetBlock
TwitterGetTweetsBlock
TwitterUnblockUserBlock
TwitterGetBlockedUsersBlock
TwitterBlockUserBlock
TwitterUnfollowUserBlock
TwitterFollowUserBlock
TwitterGetFollowersBlock
TwitterGetFollowingBlock
TwitterUnmuteUserBlock
TwitterGetMutedUsersBlock
TwitterMuteUserBlock
TwitterGetUserBlock
TwitterGetUsersBlock
TwitterSearchSpacesBlock
TwitterGetSpacesBlock
TwitterGetSpaceByIdBlock
TwitterGetSpaceBuyersBlock
TwitterGetSpaceTweetsBlock
TwitterUnfollowListBlock
TwitterFollowListBlock
TwitterListGetFollowersBlock
TwitterGetFollowedListsBlock
TwitterGetListBlock
TwitterGetOwnedListsBlock
TwitterRemoveListMemberBlock
TwitterAddListMemberBlock
TwitterGetListMembersBlock
TwitterGetListMembershipsBlock
TwitterGetListTweetsBlock
TwitterDeleteListBlock
TwitterUpdateListBlock
TwitterCreateListBlock
TwitterUnpinListBlock
TwitterPinListBlock
TwitterGetPinnedListsBlock
TwitterGetDMEventsBlock
TwitterSendDirectMessageBlock
TwitterCreateDMConversationBlock
Need to add more stuff
Supported triggers