cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User II
Super User II

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

View solution in original post

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (5,714)