I ran into this today and found the issue to be the site was using the all.min.css without the all.min.js. Once I added the JS, the twitter X icon worked.