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

Re: Twitter Media - how to add URL for an image?

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
Highlighted
Super User
Super User

Re: Twitter Media - how to add URL for an image?

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
Highlighted
Frequent Visitor

Re: Twitter Media - how to add URL for an image?

Like this? 

 

qqwSharedScreenshot.jpg

 

 

Media type wasn't recognized:  

 

qqSharedScreenshot.jpg

Highlighted
Super User
Super User

Re: Twitter Media - how to add URL for an image?

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
Highlighted
Frequent Visitor

Re: Twitter Media - how to add URL for an image?

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.  

 

Highlighted
Super User
Super User

Re: Twitter Media - how to add URL for an image?

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

Highlighted
Community Support
Community Support

Re: Twitter Media - how to add URL for an image?

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.

Highlighted
Frequent Visitor

Re: Twitter Media - how to add URL for an image?

 

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

 

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

 

 

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (9,441)