Application response error
img objects must have valid 'src' and 'href' attributes. You can see this because you are one of the developers of the app.
#64: facebook feed update complains about img objects
Solved!
When posting an update to Facebook through their API, were occasionally getting
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:
1 { 2 "body":"blah blah", 3 "images":[{ 4 "src":"http://img.awsomeness.com/8484%2B9087453jpg", 5 "href":"http://awsomeness.com" 6 }], 7 }
it will complain about the percent-encoded "+" in the img src. You can easily unescape in ruby:
1 >> URI.unescape("http://img.awsomeness.com/8484%2B9087453jpg") 2 => "http://img.awsomeness.com/8484+9087453jpg"
