Requirement: Add Twitter feed to SharePoint Online pages.
How to Add Twitter Feed to SharePoint Online?
You may want to add Twitter feeds that are relevant to your audience on your SharePoint Online site. In the past, we used Script Editor Web Part for embedding Twitter code into SharePoint. Well, not anymore in Modern SharePoint Online sites! To add a Twitter feed to a SharePoint Online page, we need to use the Twitter web part.
- Edit the page where you want to add a Twitter web part and click on the plus button to add the web part. Search and select the “Twitter” web part.
- Edit the Twitter web part and set the Twitter handle for the web part. You can also set a specific Twitter status. E.g. https://twitter.com/SharePointDiary/status/1259434580509065216
- You can also set other optional properties such as Show Twitter header, turn off dividers, change the theme color, etc.
- Republish the page once done.
Here is my another post on adding Twitter feeds to classic SharePoint sites using script editor web part: How to Integrate Twitter Feeds with SharePoint?