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

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

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!

Users online (57,702)