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.
Solved! Go to Solution.
ohhh @StuartSSTech understhand please follow this example
Proud to be a Flownaut!
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
Proud to be a Flownaut!
Like this?
Media type wasn't recognized:
like this my friend
Proud to be a Flownaut!
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
Proud to be a Flownaut!
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:
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!
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
40 | |
36 | |
28 | |
27 | |
27 |