cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

post to twitter with an video/image from email attachment.

I have trolled the internet for a while but all im looking to do is post to twitter with an video/image from email attachment.

I have bullied a flow as below

When a new email arrives (Include Attachments yes) + Converts an HTML body to plain text + start a approval -if response is equal to approve--- Post a tweet

Capture.PNG

I got below error in post a tweet action
{
"status": 400,
"message": "media type unrecognized.\r\nclientRequestId: 3784b5ed-b89e-4186-af54-15c56af85a69\r\nserviceRequestId: bfe6f88d6f523e155b150a9f5eb0696f",
"source": "twitter-we.azconn-we.p.azurewebsites.net"
}

Media type= .mp4  Size=1MB

can anyone advise on how solve this problem?

 

Thanks

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: post to twitter with an video/image from email attachment.

Hi @mahmoudali ,

 

I did a test on my side, and if the attachment is a picture, it can be successfully posted.

But if the file is video, an error with an unrecognized media type will occur.

Also I searched all the templates related to Post a tweet action and it all seems to be just to post video link.

I am afraid that Flow does not currently support Media containing video.

 

Best Regards,

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

Re: post to twitter with an video/image from email attachment.

Hi @v-bacao-msft 

     thank you for your reply.

     also if the attachment contains more than one picture, every single one posted separately and append same text.

 

  

 

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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 (4,683)