PLhery / node-twitter-api-v2

Strongly typed, full-featured, light, versatile yet powerful Twitter API v1.1 and v2 client for Node.js.
https://www.npmjs.com/package/twitter-api-v2
Apache License 2.0
1.32k stars 186 forks source link

Ability to Prevent Embedded URL #465

Closed ItIsSeven closed 1 year ago

ItIsSeven commented 1 year ago

Hello, is there any ability to prevent the URL posted via twitter-api-v2, from embedding. When using Twitter normally, you can do the following: Aipn5T0

Is that possible with this module & if so, how can I use this functionality. If not, with the Twitter API is it possible to have this functionality? If so I would love if it could be included in this npm module if not already.

ItIsSeven commented 1 year ago

Seems it's not possible taking a short look at - https://twittercommunity.com/t/how-to-remove-link-preview-card-when-creating-tweet-with-link-via-twitter-api-v2/180940/8 So maybe a TwitterAPI limitation, so seems there's not much that can be done here.