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

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

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,497)