mannynotfound / react-tweet

React.js component for rendering tweets as they are presented on Twitter.com
67 stars 43 forks source link

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

Open kopax-polyconseil opened 3 years ago

kopax-polyconseil commented 3 years ago

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