Services Plugins FAQs

Using Bubble API Connector with ZQ Twitter Plugin authentication attributes?

Hello,

Starter here :slight_smile:
My use-case includes searching users by location and name via the Twitter API https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-search, which is not supported by Twitter Zeroqode plugin, but the Twitter endpoint exists !

I have understood from previous posts on this topic that Twitter Oauth1 was challenging to use natively with bubble.io.

So here is my question: Can you please describe me how I can extract the oauth_signature (see https://developer.twitter.com/en/docs/basics/authentication/oauth-1-0a/creating-a-signature) from the ZQ Twitter Oauth plugin in Bubble.io standard API connector ?

Many thanks !

Hello @redvivi

Thanks for reaching out!

I’m not exactly sure, but what do you mean by “extracting oauth_signature from Twitter Oauth plugin” ?

In order to create your own API Connections you could follow both the Twitter’s Documentation and Bubble , on how to properly set the calls.

https://developer.twitter.com/en/docs/basics/authentication/overview

Thanks for understanding.

Regards,
Dumitru.

Hello,

Thanks for your answer. According to my research, using Twitter API for users/search requires an user-context authentication, which will come from Oauth 1.0.

Numerous topics on bubble.io mentions that implementing a 3-leg Oauth 1.0 https://developer.twitter.com/en/docs/basics/authentication/oauth-1-0a/obtaining-user-access-tokens from scratch is very complex with the current Bubble.io toolset, especially generating the oauth_signature required for this authentication process.

Therefore, my idea is to re-use the authentication attributes of your plugin to authenticate my calls using Bubble.io API connector - the oauth_signature being the most complex of the parameters to generate.

@redvivi Hello!

Okay, I think it is clearer now regarding the implementation you’re trying to achieve however the user flow regarding for authorization using the plugin and adding the API connections via Bubble’s API Connector will not work, unfortunately due to different authorization methods used.
Bubble’s API connector does not work with Oauth 1.0.
More about API Connector - https://bubble.io/reference#Plugins.apiconnector2
https://manual.bubble.io/building-plugins/adding-api-connections#authentification
Hope this helps.

However we’ll into future, to add possibility for additional calls interaction in Twitter Plugin.
Thanks for understanding.

Regards,
Dumitru.

Sorry to dig this one up again!

I need something similar(ish). I would like to include media in a tweet. Currently with the plugin that isn’t possible. Is it possible to use the API Connector to upload the media, and then attach that media to the tweet using the ZQ plugin? I just can’t see the ability to offer a tweet without an image making sense.

Any help is appreciated.

Hello @bn1

Sorry for delayed answer. :pray:

Unfortunately, currently the plugin indeed it does no offer possibility to upload image with a tweet , however we’re looking into this for future updates and see how feasible it is to be added.

Thanks for understanding.
As for workaround maybe some of these threads may offer insight:

Regards,
Dumitru