Notifications
Clear all

Twitter embeds only work for Admins and Editors

9 Posts
2 Users
0 Likes
3,977 Views
Posts: 6
Customer
Topic starter
(@arrowheadguys)
Member
Joined: 5 years ago

Here is an example embed code, although all tweets we embed function the same.  They work properly only for admins and editors.  

 

<blockquote class="twitter-tweet" data-conversation="none" data-lang="en"><p lang="en" dir="ltr">The lie: KC's offense is giving the ball back too quickly, resulting in more scoring chances for teams and decreased KC TOP.<br><br>The truth: KC's defense is allowing an extra 1st down per drive, resulting in more scoring chances for teams and decreased KC TOP.</p>&mdash; Seth Keysor (@RealMNchiefsfan) <a href="https://twitter.com/RealMNchiefsfan/status/1079139351269949445?ref_src=twsrc%5Etfw">December 29, 2018</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> 
Reply
Posts: 4172
 Tom
Admin
(@tomson)
Famed Member
Joined: 9 years ago

Hi @arrowheadguys,

This is not a good embedding code, it includes JS file. Only admins are able to insert JS files in posts and comments, this is the most insecure thing. We cannot allow regular users and guest use such embed code and load JS files. I'm sorry but there is no option to enable it, this is an incorrect way.

Please don't embed Tweets using this way, we don't support it. You should copy and paste tweet share URLs. That's the correct way. Tweets and other embeds will be supported if you have wpDiscuz Media Uploader addon installed and the oEmbed is enabled in addon settings (Comments > Settings > Addons > Media Uploader).

Reply
1 Reply
Customer
(@arrowheadguys)
Joined: 5 years ago

Member
Posts: 6

Thanks for the quick response.  I will look into trying out the Media Uploader.  

Reply
Posts: 4172
 Tom
Admin
(@tomson)
Famed Member
Joined: 9 years ago

Before considering to purchase it, you can test it here:

https://wpdiscuz.com/addons/wpdiscuz-media-uploader/#comments

Reply
Page 2 / 2
Share:
Scroll to top