You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use twitter-lite with API v2. It looks like the stream method calls getUrl method with the subdomain stream, but never passes in the endpoint version, which makes it always default to 1.1.
I think the solution is to just pass in this.config.version as second parameter to getUrl. Let me know if you think there's a better way to resolve this. I'm happy to make the pull request to fix this issue.
The text was updated successfully, but these errors were encountered:
I'm trying to use twitter-lite with API v2. It looks like the stream method calls
getUrl
method with the subdomainstream
, but never passes in the endpoint version, which makes it always default to1.1
.The line of code that caused this issue:
twitter-lite/twitter.js
Line 317 in 00052e6
I think the solution is to just pass in
this.config.version
as second parameter togetUrl
. Let me know if you think there's a better way to resolve this. I'm happy to make the pull request to fix this issue.The text was updated successfully, but these errors were encountered: