KinkyTwits Update - "Characters Remaining" Understands Message Type And HTML Entities

Posted October 7, 2008 at 9:37 AM

Tags: ColdFusion, Javascript / DHTML

Just a quick update to KinkyTwits, my ColdFusion, jQuery, and MySQL powered Twitter client. I know that some people have had issues with other twitter clients in that they do not accurately report the number of remaining characters. The problem is that these other clients do not take into account HTML entities that must be escaped. KinkyTwits now takes into account both escaped HTML entities as well as different message types (direct messages allow for a shorter length).

 
 
 
 
 
 
 
 
 
 

This is pretty exciting stuff for me. I've been using KinkyTwits for the past two days and its been a really easy to use.

Post Comment  |  Ask Ben  |  Permalink  |  Other Searches  |  Print Page




Learning ColdFusion 9 - ColdFusion 9 tutorials, samples, examples, demos

Reader Comments

Oct 9, 2008 at 8:26 AM // reply »
5 Comments

Pretty cool Ben. I had no clue that the character count worked this way. Sadly, now that my eyes have been opened, I'll have to implement something like this in dlog as well. And I thought I was doing so well :-p


Oct 9, 2008 at 8:45 AM // reply »
6,516 Comments

@Steve,

I found out from some of the Twitter chatter. I had no idea either (although I saw that some of my posts were getting truncated for seemingly no reason). If you want to look at any of my code, just let me know.


Post Comment  |  Ask Ben

Recent Blog Comments
Nov 20, 2009 at 11:32 PM
Five Months Without Hungarian Notation And I'm Loving It
I've used headless camel case for years for not only ColdFusion variables, but also SQL tables and fields... pretty much everything involving code. I also subscribe to the "don't abbreviate and clea ... read »
Nov 20, 2009 at 11:00 PM
Five Months Without Hungarian Notation And I'm Loving It
@Marcel, Yeah, I always err on the side of longer but more readable variable names. As for the camel casing of CF methods and the headless camel casing of custom items, I get around this by always ... read »
Nov 20, 2009 at 10:56 PM
Five Months Without Hungarian Notation And I'm Loving It
I use the following and love it: my.namespace.MyComponents.functionMethodsOrUDF() CONSTANT_VALUES_OR_PROPERTIES One thing I always try is to CamelCaseBuiltInColdFusionFunctions() so others can tell ... read »
Nov 20, 2009 at 5:38 PM
Learning ColdFusion 8: CFImage Part I - Reading And Writing Images
Hi Ben, Great article. I've been looking around to see if ColdFusion image engine can programatically create the following "wrap around" effect: http://www.creativepro.com/article/photoshop-s-she ... read »
Nov 20, 2009 at 5:35 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
@Dave: I talked to Gert he suggested: <cfhttp method="get" url="http://{some cf website}" result="stuff" addtoken="yes" /> Note the addition of cfhttp attribute addtoken. That should persist y ... read »
Nov 20, 2009 at 5:23 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
@Todd, Ahh, gotcha, yeah that makes sense. ... read »
Nov 20, 2009 at 5:17 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
Ben, sorry if I didn't make this clear. You can make it work like that if you want, just put <cfset session.foo = 1> (and <cfset application.foo = 1>) in your OnRequestStart() and it reve ... read »