This change prepares for https://www.theverge.com/2017/9/26/16363912/twitter-character-limit-increase-280-test
Currently, the API refuses statuses > 140 characters, so we can't set it to 280.
Ref T1249.
Differential D1048
Set Twitter message length dereckson on Oct 12 2017, 16:12. Authored by Tags None Referenced Files
Subscribers None
Details
This change prepares for https://www.theverge.com/2017/9/26/16363912/twitter-character-limit-increase-280-test Currently, the API refuses statuses > 140 characters, so we can't set it to 280. Ref T1249. Fire a longer message than 140 characters.
Diff Detail
Event TimelineComment Actions The 280 limit is for web only: 2:40:41 <Daeghrefn> [DEBUG] Twitter error: OAuth failure: (code: 403) {"errors":[{"code":186,"message":"Status is over 140 characters."}]} 22:41:07 <Dereckson> .tcl putdebug 22:41:07 <Daeghrefn> [DEBUG] OAuth failure: (code: 403) {"errors":[{"code":186,"message":"Status is over 140 characters."}]} 22:41:07 <Daeghrefn> while executing 22:41:07 <Daeghrefn> "error "OAuth failure: (code: $ncode) $data"" 22:41:07 <Daeghrefn> (procedure "oauth::query" line 16) 22:41:07 <Daeghrefn> invoked from within 22:41:07 <Daeghrefn> "oauth::query $url $method $oauth_header $oauth_query" 22:41:07 <Daeghrefn> (procedure "oauth::query_call" line 25) 22:41:07 <Daeghrefn> invoked from within 22:41:07 <Daeghrefn> "oauth::query_call $url $consumer_key $consumer_secret $method $params $query_dict $oauth_token_secret" 22:41:07 <Daeghrefn> (procedure "oauth::query_api" line 3) 22:41:07 <Daeghrefn> invoked from within 22:41:07 <Daeghrefn> "oauth::query_api $url {*}[registry get twitter.oauth.consumer] $method {*}$token $query_list" 22:41:07 <Daeghrefn> (procedure "twitter_query" line 20) 22:41:07 <Daeghrefn> invoked from within 22:41:07 <Daeghrefn> "twitter_query $status_url $account [list status $message]" Comment Actions Works with https://twitter.com/Ideedarticles/status/919336799654342657 (and blocked a 249 characters message). |