here is how i'm trying it on the command line
opts = {:message=>"a test", :uid=>287599856035}
attachment_hash = {:name => "NAME", :href => "http://
www.google.com", :description => "DESC"}
opts.merge!({:attachment => attachment_hash.to_json})
>>
fa.facebook_session.post('facebook.stream.publish', opts, false)
Facebooker::Session::MissingOrInvalidParameter: The post's links must
direct to the application's connect or canvas URL.
from /Library/Ruby/Gems/1.8/gems/facebooker-1.0.70/lib/facebooker/
parser.rb:872:in `process'
from /Library/Ruby/Gems/1.8/gems/facebooker-1.0.70/lib/facebooker/
parser.rb:38:in `parse'
from /Library/Ruby/Gems/1.8/gems/facebooker-1.0.70/lib/facebooker/
service.rb:67:in `post'
from /Library/Ruby/Gems/1.8/gems/facebooker-1.0.70/lib/facebooker/
session.rb:681:in `post_without_logging'
from /Library/Ruby/Gems/1.8/gems/facebooker-1.0.70/lib/facebooker/
session.rb:692:in `post'
from /Library/Ruby/Gems/1.8/gems/facebooker-1.0.70/lib/facebooker/
logging.rb:20:in `log_fb_api'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.2/lib/
active_support/core_ext/benchmark.rb:10:in `realtime'
from /Library/Ruby/Gems/1.8/gems/facebooker-1.0.70/lib/facebooker/
logging.rb:20:in `log_fb_api'
from /Library/Ruby/Gems/1.8/gems/facebooker-1.0.70/lib/facebooker/
session.rb:691:in `post'
from (irb):66
from :0
-----------
It works fine if I don't attach a link.
Anyone any idea? I'm baffled.