web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Twitter Media - how to...
Power Automate
Answered

Twitter Media - how to add URL for an image?

(0) ShareShare
ReportReport
Posted on by 21

I assumed 'Media' = a photo.  And the photo would be posted to Twitter as a native photo. 

 

What inputs does the media field (Twitter action) accept? 

 

I tried adding a URL for an image, but this was not accepted. 

 

 

SharedScreenshot.jpg

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    hi @n1cks  you need to add the url of the image like this https://www.consein.com/wp-content/uploads/2020/02/Power-Automate-Logo-JPEG.jpg

  • n1cks Profile Picture
    21 on at

    Like this? 

     

    qqwSharedScreenshot.jpg

     

     

    Media type wasn't recognized:  

     

    qqSharedScreenshot.jpg

  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    like this my friend

     

    this.PNG
     
    if you want to add an image in content please follow this post
     
  • n1cks Profile Picture
    21 on at

    Thanks Christian. 

    Yes, I'd like to add an image in content. 

    The example you provided gets content from a SharePoint site. 

    What action would I use for an image URL (sourced from an RSS feed)?  Such as: 
    https://www.consein.com/wp-content/uploads/2020/02/Power-Automate-Logo-JPEG.jpg

     

    Perhaps Power Automate doesn't support this.  

     

  • Verified answer
    ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    ohhh @StuartSSTech  understhand please follow this example

     

    this.PNG

  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @n1cks,

     

    The Media field accepts a binary type of data.

    https://docs.microsoft.com/en-us/connectors/twitter/#post-a-tweet

    So if you put the data into it, you should put in a string of binary, the format should be:

    {
     "$content-type": "image/jpeg",
     "$content": "base64code"
    }

     This is an example that post a picture form a URL provided by @ChristianAbata:Annotation 2020-05-04 130758.png

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • n1cks Profile Picture
    21 on at

     

    Thanks you @ChristianAbata  & @v-litu-msft  , much appreciated. 

     

    The solution provided by @ChristianAbata works for me.  Thanks a million! 

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 921

#2
Valantis Profile Picture

Valantis 801

#3
Haque Profile Picture

Haque 588

Last 30 days Overall leaderboard