Dhaiwat10 / rlp-proxy

The proxy used by @dhaiwat10/react-link-preview to fetch metadata for URLs.
https://www.npmjs.com/package/@dhaiwat10/react-link-preview
34 stars 134 forks source link

twitter returns null on v1 and v2. #9

Closed kayode0x closed 2 years ago

kayode0x commented 3 years ago

This is what v1 returns. { "metadata": { "meta": {}, "og": { "images": [], "videos": [], "site_name": "Twitter" }, "images": [] } }

And this is what v2 returns. { "metadata": { "title": "", "description": null, "image": "undefined/img-placeholder.jpg", "siteName": "Twitter", "hostname": "twitter.com" } }

PS: I added my Twitter bearer token.

Dhaiwat10 commented 3 years ago

This is definitely not ideal. I'm a bit busy atm, but I'll try to test this whenever I get the chance. Thanks for reporting this! :)

kayode0x commented 3 years ago

apparently, the error comes from the parsing package being used.

kayode0x commented 2 years ago

Issue will be transferred to the parsing package used.