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

eliotcole
Power Participant
Power Participant

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (3,437)