|I'm also seeing the 413 Request Entity Too Large error.|
This script has been working for a year or so, just started having this error on May 27...an update on twitter site maybe?
Anyone know how to fix it?
|2010-06-03 14:41:41 - In reply to message 1 from David Barnes|
|I have found the solution.|
Find these lines in my_twitter.php:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
Add these lines after:
$entry = '<content type="text/html; charset=iso-8859-1">';
curl_setopt($ch, CURLOPT_POSTFIELDS , $entry);