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
Continued Contributor
Continued Contributor

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,689)