Solution for: #64: facebook feed update complains about img objects
Facebook doesn't like % in URLs
- 
 kueda on August 27, 2009, 06:27 PM UTC
  This took some time to debug: apparently Facebook doesn't like percent-encoded URLs, so if you sent it some feed template code that looks like
it will complain about the percent-encoded "+" in the img src. You can easily unescape in ruby:
  
    
    
  
  
    
  
    
   
  {
  "body":"blah blah",
  "images":[{
    "src":"http://img.awsomeness.com/8484%2B9087453jpg",
    "href":"http://awsomeness.com"
  }],
}
it will complain about the percent-encoded "+" in the img src. You can easily unescape in ruby:
>> URI.unescape("http://img.awsomeness.com/8484%2B9087453jpg")
=> "http://img.awsomeness.com/8484+9087453jpg"
