I am having the same problem. I am getting the html character codes in twitter. It happens if I use the visual or html editor in wordpress. The live blog entries look great on the post, but break in twitter.
thanks in advance for any help in this. I need this badly for an event on friday…
Is there a way to change what is sent to twitter to plain text or something?
Here are the examples.
Here is the blog post that looks great…
http://rrea.com/blog/nar-tech-edge-houston/
Here is one of the entries as a tweet.
https://twitter.com/rreadotcom/status/215546466834452480
Any thoughts?
I am seeing the same issues, by the way.
Thread Starter
Xalio
(@xalio)
Is there an update for this issue?
No update that I have found. Here is an example I made where I was just careful not to use contractions…
http://rrea.com/blog/nar-tech-edge-vegas/
On line 1354 of live-blogging.php
$content = filter_var($post->post_content, FILTER_SANITIZE_STRING);
Change to
$content = filter_var($post->post_content, FILTER_SANITIZE_URL);
That will make quotes and other special characters appear correctly in tweets.
@vanamar Brilliant! thank you. Works perfectly!
I’ve made that change, and it works, however when the tweets are produced, there are no spaces between words.
Example – https://twitter.com/tvlive_extra/statuses/240465072932139009