Services Plugins FAQs

Twitter API: 'Tweet' functionality not working in App, not showing Tweet IDs

Hi guys,

I’ve collected the oauth keys and copied the states and workflows of the editor documents but it is just not working in my app and I’m really frustrated. Everything seems right!

When I send a tweet using the demo of the editor it works! But in mine it doesn’t…

Here’s the my app editor link: Degenkit | Bubble Editor

I don’t get it…

Debugger says

Hello, @dcardinesiii. Thanks for reaching out.

Can you please tell me if the user authorization (the first step before sending twits) goes well on your side?
Also, would it be convenient for you to show me your plugin setup?

Please make sure your plugin setup is alike the one we have on the demo page.
Thanks!

Hello @kate

The user authorization seems to go well because I display it to the UI once connected, but I can’t be so sure since it isn’t working…

OAuth Workflows:


Plugin Setup:

Please let me know what’s wrong.

I’ve tried everything, unsubscribing now, this plugin doesn’t work

@dcardinesiii,
Please accept my sincere apologies for the late reply. :pray:

Another reason why the plugin may not work in your app is because of the fact you need to indicate the redirect URL in your Twitter developer account:

This redirect URL means there should be indicated a page where Twitter will redirect you once the authentication is successful. You have to add it in the following format (on my example):
https://zeroqode-demo-20.bubbleapps.io/version-test/ko?debug_mode=true
https://zeroqode-demo-20.bubbleapps.io/version-test/ko
https://zeroqode-demo-20.bubbleapps.io/ko?debug_mode=true
https://zeroqode-demo-20.bubbleapps.io/ko

I apologize for not being able to help you earlier. :pensive:
Please try the suggested to make the plugin work in your app just like in our demo page.

It still doesn’t work…

I’m pulling my oauth keys but when I try to activate ‘post tweet’, there’s no tweet_id being created.

The twitter account I’m using for dev portal is the same as twitter account I’m testing to autheticate, does that affect it?

this shows up

Hi again, Kate,

Any help at all?

@dcardinesiii,

Tons of apologies for the delay. We are currently investigating the documentation regarding the lack of guiding info.
To help you better, would it be possible for you to add our support@zeroqode.com account as a collaborator of your app? I’ll create a test page to make sure the plugin is working in your app.

Thank you :pray:

Hello again, Kate,

I’ve added Zeroqode as a collaborator, and many thanks.

Though I think because my API access is not elevated, maybe this is why it’s not writing to the accounts? Though it’s not pulling information also.

@dcardinesiii ,
Thanks for providing access to your app. :pray:

It seems like you can’t use the plugin anymore because you need to prolong the subscription on it. I’m sorry, but I can’t test the plugin work while the plugin is not active in your app:
image

Can you please resubscribe and let me know? So I can continue the investigation.
Thanks

Hello, @kate

Just resubscribed and set up a workflow to ‘post a tweet’.

The connection to Oauth is also set up the same as with Zeroqode’s demo (and works) but the post a tweet does not work.

Please do let me know what you find in your investigation.

@dcardinesiii , thanks for letting me know! I’ll continue investigation today and get back to you asap.
Thanks :slightly_smiling_face:

@kate thank you kate! looking forward to it.

@dcardinesiii,

Can you please show me your redirect URLs? And in case you haven’t this one there, please add it to the list of redirect URLs:
https://www.degenkit.io/version-test/zq_test?debug_mode=true

Thanks!

@dcardinesiii ,

Please make sure that you have:

  1. added all redirect URLs to your Twitter Developer account (with debugger, with version-test, all your test pages where the Twitter auth is present);
  2. when you’re authorizing to Twitter, your user should be logged in to your Bubble app (to make changes to the current user’s Twitter info, which you are going to use/display to the authorized user)
  3. you had an error in the “get details” action - you had a “step 1” in the action that required “step 2” - Screenshot by Lightshot

I have used our demo keys and added your test page to the list of our redirect URIs and everything seem to be working good:

Hope it helps! :pray:

Yep here it is kate, seems like it’s all there

@dcardinesiii,

You have added redirect URLs to your “production” pages only, as I can see. I’d like to recommend you add there your test pages as well. Please check my setup from the video I’ve shared, add it to your test page (alongside the redirect of the test page), and give it a try. As you can see in my video, the “post a tweet” functionality works fine in your app.

Hope it helps. :slightly_smiling_face:

sorry but is this right kate?

i’ve tested and it still doesn’t work, could it be an issue with my app’s api privileges?

@dcardinesiii,

Please add this URL to your redirects list and then test the zq_test page:
https://www.degenkit.io/version-test/zq_test?debug_mode=true

Regards,