cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Retweet using Flow

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.
Highlighted
Kudo Collector
Kudo Collector

Re: Retweet using Flow

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

Highlighted
Helper III
Helper III

Re: Retweet using Flow

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...

 

Highlighted
Super User III
Super User III

Re: Retweet using Flow

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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (7,414)