This might be more of a PHP and/or curl question than a Twitter API
question, but I figured I would ask here first because Twitter API
developers have to deal with non-ASCII characters in image URLs
because Twitter doesn't change the name the user gave their image file
to something cleaner.
The PHP code below is giving me the standard Amazon S3 access denied
error message, but if I copy the URL of the image and paste it into my
browser, that doesn't happen. What do I need to do to get this to
$ch = curl_init('http://twitter.com/users/show.json?
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$json = curl_exec($ch);
$data = json_decode($json, true);
$ch2 = curl_init($data['profile_image_url']);
http://twilk.com - put your friends' faces on your Twitter background