Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Does anyone have a working config for supporting Twitter in the EmbeddedMedia.config file?
Tim Geyssens posted a code snippet for the old Twitter, but that API endpoint has now expired.
I'd appreciate any knowledge sharing on this.
Also if anyone has a Facebook oEmbed config too, that'd be great!
Thanks, - Lee
I've found this works:
<provider name="Twitter" type="Umbraco.Web.Media.EmbedProviders.OEmbedJson, umbraco"> <urlShemeRegex><![CDATA[twitter\.com/]]></urlShemeRegex> <apiEndpoint><![CDATA[https://publish.twitter.com/oembed]]></apiEndpoint> <requestParams type="Umbraco.Web.Media.EmbedProviders.Settings.Dictionary, umbraco"></requestParams>
As for Facebook, there are couple of endpoints depending on video or post content.
Hope this helps :)
Thanks, Jamie
Thanks Jamie, that's exactly what I needed. I had tried updating the apiEndpoint, but was still using the OEmbedRich provider... OEmbedJson fixes this... thank you!! #h5yr
apiEndpoint
OEmbedRich
OEmbedJson
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
EmbeddedMedia config for Twitter
Does anyone have a working config for supporting Twitter in the EmbeddedMedia.config file?
Tim Geyssens posted a code snippet for the old Twitter, but that API endpoint has now expired.
I'd appreciate any knowledge sharing on this.
Also if anyone has a Facebook oEmbed config too, that'd be great!
Thanks,
- Lee
I've found this works:
As for Facebook, there are couple of endpoints depending on video or post content.
Hope this helps :)
Thanks,
Jamie
Thanks Jamie, that's exactly what I needed. I had tried updating the
apiEndpoint
, but was still using theOEmbedRich
provider...OEmbedJson
fixes this... thank you!! #h5yris working on a reply...