NO CODE PLUGINS
Twitter V2 Integration
Twitter V2+V1 Post With Media
13min
twitter has deprecated the ability to post using the v1 api twitter's v2 api endpoint does allow for you to post a tweet however, the endpoint available only offers the ability to post, they do not have an endpoint for posting with media the team at pathfix has found a temporary workaround by using a combination of the v1 and v2 endpoint how this works? use the v1 endpoint to prepare the media for upload use the v2 endpoint to post the tweet with media note this is a temporary workaround until twitter releases the ability to prepare and post tweet with media setup you will need to configure and add both, twitter and twitter v2 integration in your pathfix account this means, your users will have to connect to both twitter v1 and v2 in your app to give them the ability to post with media setup in twitter dev create your twitter developer account here https //developer twitter com/en/portal https //developer twitter com/en/portal if you have an existing account with twitter developer, make sure you only have the total number of approved projects based on your plan twitter api known issues due to the ongoing migration from v1 to v2, there are a few known configuration/app issues that our team and users have seen, these are twitter is deleting/removing access and blocking api requests for entire accounts that have more than the allowed number of apps please check your limits in your account and delete any extra apps some users are facing issue of twitter randomly deleting their app everyday adding the app once again resolves this for more information read the forum discussion here setup click on the keys and tokens tab copy the consume keys for use with twitter v1 configuration copy the oauth 2 0 keys for use in twitter v2 configuration setup in pathfix log into pathfix and add an application (or select an existing application) select twitter from the list of providers add the consumer keys copied over from your twitter dev portal save the settings click on test connection and connect an account to test the configuration go back to the application page select twitter v2 from the list of providers add your twitter v2 oauth 2 0 clientid and clientsecret and hit save click on test connection and connect an account to test the configuration setup in bubble you will need to install 3 plugins for the setup to work pathfix oauth connector https //docs pathfix com/bubble/pathfix oauth connector twitter v1 plugin twitter v2 plugin (version 2 2 1) install all 3 plugins and add the public key and x partner key to the pathfix plugins before proceeding in the design page, add the pathfix connector element to the page in the setup/properties window, select ' all providers in my pathfix account ' and add the following list of providers twitteroauth2,twitter this will show the twitter v1 and twitter v2 connect buttons add an input element to capture text input from your user add a picture uploader element to capture images from the user add a button element to allow for the post action setting up the workflow this is a 4 step process as twitter needs certain info and file format, here is the sample setup step 1 select to include the file size and file type with the call step 2 select the media id string and base 64 encoding step 3 finalize the media and select the media id string step 4 post the tweet with media and message using the twitter v2 api for post media with tweet your setup is complete go to the preview of your app, connect your twitter account to both twitter v1 and v2, test the post with media functionality need help? reach out to us at support\@pathfix com