ttezel / twit

Twitter API Client for node (REST & Streaming API)
4.32k stars 573 forks source link

Uncaught ReferenceError: Twit is not defined #544

Open afikmenashe21 opened 3 years ago

afikmenashe21 commented 3 years ago

Hi, In my asp .net core application I'm trying to post a tweet. For that, I created a js file, and inside I created an instance of Twit according to the usage in the doc. The problem I get is: Uncaught ReferenceError: Twit is not defined. I installed Browserify and did the bundle, created a package.json file for the dependencies, ran the command npm install twit. By the way, when I ran that command I get (Tried to explored but without success): npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 Any solution?