Categories: ThecounT

Twitter Removes 140 Character Limit From Direct Messages!

Starting in July, Twitter has announced the removal of the 140 character limit in Direct Messages!

Twitter made the official announcement via their blog saying that in order to make this change as seamless as possible, developers will need will need to follow the recommendations below to ensure all your applications and services can handle these longer format messages before they flip the switch.

Twitter recommends taking the following actions in preparation:

  1. Review the new API additions below.
  2. Update your GET requests so you will be able to receive the full length of DM text.
  3. Adjust your app UI to accommodate longer DM text.

We encourage you to test and deploy the above changes in advance, but you won’t be able to send longer DMs until we launch in July. In the coming weeks though, we will update this post to include directions on how to test these changes, as well as a more specific launch date.

You may be wondering what this means for the public side of Twitter. Nothing! Tweets will continue to be the 140 characters they are today.

We’re excited to hear your input. If you have technical questions, feel free to ask in the REST API forum5 or reach us @TwitterDev8. Thanks, and stay tuned for more!

API updates:

  • REST API
    DM read endpoints (GET direct_messages15, GET direct_messages/sent2 and GET direct_messages/show3)
    Send “full_text=true” as a query parameter to receive long DM text. If this parameter is not provided, you will get a truncated version of the DM. There will be no structural changes to the response returned by these endpoints.
    DM write endpoint (POST direct_messages/new)
    The “text” parameter will start accepting text longer than 140 characters. The new limit for DMs will be 10k characters.
  • Streaming API
    User Streams (GET user1) and Site Streams (GET site2) will automatically start receiving DMs that have text longer than 140 characters. Unlike the REST API, no additional parameter is needed. There will be no structural changes to the objects returned by these endpoints.
THECOUNT.COM "ALWAYS OPEN! Since 2005!"

this is why i'm hot

Recent Posts

Justin Fairfax Divorce Docs Revealed: Refused To Pay Child Support, Mortgage

ANNANDALE, VA. (THECOUNT) — Former Virginia Lieutenant Governor Justin Fairfax and his estranged wife Cerina…

3 days ago

PA Mother Melinda Abrams ID’d As Victim In Thursday Stoneboro Triple-Fatal House Fire Involving Children

SANDY LAKE TWP., PA. (THECOUNT) — Leroy Abrams, Amelia Abrams, and their mother, Melinda Abrams,…

3 days ago

KY Man Shemar Shackelford ID’d As Victim In Wednesday Louisville Fatal Shooting

LOUISVILLE, KY. (THECOUNT) — Shemar Shackelford has been identified as the victim in a fatal…

3 days ago

KY Man Christopher Adkins ID’d As Victim In Wednesday Morehead Fatal Harley Crash

MOREHEAD, KY. (THECOUNT) — Christopher Adkins has been identified as the victim in a fatal…

3 days ago

ME Man Steven Caouette ID’d As Victim in Wednesday Wales Fatal Harley Crash

WALES, ME. (THECOUNT) — Steven Albert Caouette has been identified as the victim in a…

3 days ago

VA Dentist Cerina Wanzer Fairfax ID’d As Victim In Thursday Murder-Suicide, Justin Fairfax Deceased Shooter

ANNANDALE, VA. (THECOUNT) — Former Virginia Lieutenant Governor Justin Fairfax shot and killed his wife,…

3 days ago