Forked from Zemnmez/tweetdeck-limit-override-dm-rt-fix.js
Created
September 27, 2017 07:00
-
-
Save radix42/a8c7292d6ed8573efe80e3b86543f711 to your computer and use it in GitHub Desktop.
tweetdeck-limit-override.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TD.services.TwitterClient.prototype.makeTwitterCall=function(b,e,f,g,c,d,h){c=c||function(){};d=d||function(){};b=this.request(b,{method:f,params:Object.assign(e,{weighted_character_count:!0}),processor:g,feedType:h});return b.addCallbacks(function(a){c(a.data)},function(a){d(a.req,"",a.msg,a.req.errors)}),b}; | |
twttrTxt=Object.assign({},twttr.txt,{isInvalidTweet:function(){return!1},getTweetLength:function(){return twttr.txt.getTweetLength.apply(this,arguments)-140}}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment