Good morning, @slappy_ve ...
Rather than using embed code that you harvested from Twitter's website, have you considered using the Twitter LTI external app integration with Canvas? (More information at: How do I add an external app in a course? - Canvas Community) This might be a better solution for you. In your course:
- Click on Settings.
- Click on the Apps tab.
- Click on the Twitter image.
- Click on the + Add App button.
- Click on the Add App button.
Twitter will be added as a button within your RCE (Rich Content Editor). If are using the current RCE (not the New RCE) and do not see the Twitter icon on your RCE, you may have to click on the blue chevron "V" icon to see if it is listed there.

If you are using the New RCE, you can use this Guide: How do I select content from an external app in th... - Canvas Community.
I hope this will be of some help to you. Sing out if you have any other questions...thanks! Take care, stay safe, and be well.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.