API : application programmer interface
Twitter API essentials :
messeges(Counting 140 characters)
Twitter imposes a limit of 140 characters, or more technically 140 bytes, to updates (primarily because of the size restrictions of cell text messages). Although the Twitter API accepts longer strings of text, those messages are truncated. Because Twitter uses the UTF-8 character set, it is possible to represent each of the 128 ASCII characters, which consume 1 byte, plus special Unicode and international characters, which can consume up to 4 bytes.This is why tweets with special characters are truncated even though they are technically 140 characters in length. Twitter uses the Normalization Form C (NFC) convention for counting update length, which can be evaluated using the Normalizer class in PHP.
Twitter API essentials :
messeges(Counting 140 characters)
Twitter imposes a limit of 140 characters, or more technically 140 bytes, to updates (primarily because of the size restrictions of cell text messages). Although the Twitter API accepts longer strings of text, those messages are truncated. Because Twitter uses the UTF-8 character set, it is possible to represent each of the 128 ASCII characters, which consume 1 byte, plus special Unicode and international characters, which can consume up to 4 bytes.This is why tweets with special characters are truncated even though they are technically 140 characters in length. Twitter uses the Normalization Form C (NFC) convention for counting update length, which can be evaluated using the Normalizer class in PHP.