react-tweet icon indicating copy to clipboard operation
react-tweet copied to clipboard

Uncaught TypeError: Cannot read property 'childNodes' of undefined when using data from search api v1.1

Open kopax-polyconseil opened this issue 4 years ago • 0 comments

I am using react-tweet to test display data from search endpoint of twitter api v1.1, this is what I get when I try to render the data:

Uncaught TypeError: Cannot read property 'childNodes' of undefined
    at grabAllTextNodes (twemoji.npm.js:294)
    at parseNode (twemoji.npm.js:348)
    at Object.parse (twemoji.npm.js:548)

Shouldn't this api be compatible with the search API?

Thanks for sharing

kopax-polyconseil avatar May 03 '21 18:05 kopax-polyconseil