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

Notifications

Announcements

Community site session details

Community site session details

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

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,951 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,951 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,951 Most Valuable Professional on at

    ohhh @StuartSSTech  understhand please follow this example

     

    this.PNG

  • v-litu-msft Profile Picture
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard