cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
n1cks
Frequent Visitor

Twitter Media - how to add URL for an image?

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

1 ACCEPTED SOLUTION

Accepted Solutions

ohhh @StuartSSTech  understhand please follow this example

 

this.PNG



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

View solution in original post

7 REPLIES 7
ChristianAbata
Community Champion
Community Champion

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



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

Like this? 

 

qqwSharedScreenshot.jpg

 

 

Media type wasn't recognized:  

 

qqSharedScreenshot.jpg

like this my friend

 

this.PNG
 
if you want to add an image in content please follow this post
 


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

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.  

 

ohhh @StuartSSTech  understhand please follow this example

 

this.PNG



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
v-litu-msft
Community Support
Community Support

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.

 

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

 

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

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,286)