Skip to content

Commit 26f139e

Browse files
author
Christoph Rumpel
authored
Merge pull request #36 from gpluess/patch-1
Updated tweet length
2 parents 31e0b8b + c163271 commit 26f139e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwitterStatusUpdate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function getRequestBody()
107107
private function messageIsTooLong($content, Brevity $brevity)
108108
{
109109
$tweetLength = $brevity->tweetLength($content);
110-
$exceededLength = $tweetLength - 140;
110+
$exceededLength = $tweetLength - 280;
111111

112112
return $exceededLength > 0 ? $exceededLength : 0;
113113
}

0 commit comments

Comments
 (0)