Twitter API / Post a tweet

Has anyone had any luck creating an api POST with Wappler to post a tweet to your twitter timeline?

I have gone through the pages of docs on the twitter site, but it seem like you have to use a 3rd party system like Postman to create a tweet. I don’t want to do that. I want to have a web-based form to send my post.

The issue that seems to come up is creating the oauth_signature token. The other tokens seem to be supplied via the developer portal.

If anyone has an API that they got to work they could share, i would greatly appreciate it.

We use Ayrshare for all of our Social Media management. Superb API and extremely easy to implement in to Wappler. Can post to all platforms including Twitter, Facebook, and YouTube plus many others. Set-up is simple and takes a few minutes using the Wappler API Connector.

For $99 (USD) a month you get 1000 posts including lots of features. To some it may sound like a fortune but if you have ever tried to implement this type of feature you’ll know how much time and effort it takes to succeed and how complicated it can get. So for us the cost is well worth it.

I’ll just add. We charge €60.00 to enable this feature per Client and they are locked to 100 posts per month across the three primary Social Network Platforms. We then offer further integrations at €20 per additional platform per calendar month. We can also offer ChatGPT integration so that their posts are automatically generated via a short prompt, of course this is a further extra to the standard service.

Soon pays for itself when it comes to our own requirements!

:wink:

1 Like

Excellent - i will definately check this out.

I manage quite a few Twitter accounts for our social media postings for clients. Do you know if its per Twitter credentials? Or could i manage multiple twitter accounts and post to each one individually?

Thats the system i was trying to setup with my own API. I would have the Twitter credentials setup on the back based on the clients data / app, and then post to their Twitter profile directly from the website.

The standard subscription is for a single set of credentials per connected Platform.

Talk with their Team regarding the Business solutions they offer. They are quick to respond and very easy to talk with. Each use case is bespoke to specific requirements.

Have you thought about Hootsuite - https://www.hootsuite.com/en-gb or Dlvr.it - https://dlvrit.com/ for this? They may be worth a look.

i have seen these, but the issue is that i post for about 200 to 300 clients to Twitter and it could be extremely costly to use a 3rd party. I did reach out to them to see what their costs would be.

i have already setup and API posting system for Facebook / Instagram and LinkedIn, but Twitter is just on another level with all of their parameters.

@BWCWeb It would be very kind of you if you could share with us the workflow

Thanks in advance

each social media has their own process for posting, but here is a quick breakdown

for facebook
I get their Page ID (done under About / Page Transparency)
Also, my primary Facebook account HAS to be an Admin level on their business page for this to work. I use my Facebook_Access_Token for these approvals

From there i am able to start my authorization process
This is the access token process

This is the posting to Facebook business page process

For instagram is just about the same as Facebook but i use a an Instgram ID if its applied in the Facebook API call. In order to get this, the Facebook business page has to be associated with the Instagram account.

From there i set the Instagram ID and start my posting processs


1 Like

LinkedIn on the API side is alot easier as all you need to have is the Client URN number and this is easily received from a Bearer Token request. You just need to go into the LinkedIn Developer section and setup an app and authorization to get this info.

Then the posting process

1 Like

THANKS A LOT my friend!!

I will have a look on these.
:beer:

No problem - glad to help!

If you know anyone that was able to get Twitter to work…let me know. its frustrating.

1 Like