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
The `changeTwitterSettingsIfNeeded` method creates a new instance of the TwitterOAuth class.
The default API version in TwitterOAuth is 2.
Setting the api version *before* changing the twitter settings creates an opportunity for the api version to be **immediately** overwritten if the settings need to be changed.
Flipping these lines is all that is necessary to remediate the error.
0 commit comments