createTweet factory function options not working?

widgetsjs

#1

Hi,

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?


#2

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

Example:
http://jsfiddle.net/niallkennedy/6kpmmzma/


#3

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


#4