cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
haniel
Kudo Collector
Kudo Collector

Retweet using Flow

Hi,

 

I'm trying to retweet a message using the HTTP action and the url https://api.twitter.com/1.1/statuses/retweet/@{triggerBody()?['OriginalTweet']?['TweetId']}.json.

 

Regardless of what I try, I get a 215 errlr (Bad Authentication Data).  For Authentication, I've tried None and Basic with my twitter credentials, but neither worked.

 

Any help on how to authenticate would be appreciated.

 

4 REPLIES 4
v-yamao-msft
Community Support
Community Support

Hi haniel,

 

it seems that Twitter's latest API 1.1 does not allow access without authentication, even for data that is seemingly public. I have seen an article about “Authenticating a Twitter Feed for OAuth API V1.1 - Timelines & streams”, please check it at here. Hope it will be a reference for you:
https://webdevdoor.com/php/authenticating-twitter-feed-timeline-oauth

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Mabel,

 

Thank you for providing the link.  My question is how to do an HTTP POST in Flow with OAuth 1.1 authentication?  Is it possible?

 

Regards,

-Haniel

Hi, @haniel , have you tried making your twitter account a developer account and using the access token / secret?

 

I believe that this is a requirement to interact with the API.

 

I fully realise that this may be some years too late, but many may have arrived here like me (I'm looking for something else) and could need the information.

 

Oh, and since none of this can be done without OATH, use this guide to setup OAUTH on your Azure  ...

 

https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/OAuth-1-0-Connection-Post-Tweets-w...

 

My friend please follow this video to see how to use http conector

https://youtu.be/eSwdxAJQmJU


Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,871)