createTweet factory function options not working?




I’m attempting to embed a tweet without a card and am not having any success.

twttr.widgets.createTweet('617749885933232128', element, { cards: 'hidden' })

Still returns a Tweet with a card. Any suggestions?


I was able to hide a card by passing a cards property of hidden.



Sorry for the delayed response - this was caused by an error elsewhere within my code. Thanks for your help.