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

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.

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (35,554)