Anyone use the Koala gem to post on a Facebook wall before? I am able to post fine (with the picture displayed), but can't seem to have the "share" link on the actual wall post. "Like" and "Comment" appear though.
I have the following:
client = Koala::Facebook::API.new(user.token)
options = {
:message => "Message here",
:description => "Description here",
:link => "http://#{APP_CONFIG['host']}/foobars/1",
:picture => "#{photo.url}"
}
client.put_object(user.facebook_uid, 'feed', options)
Am I missing something in options
? Would anyone like to share their experience?
Seems to work by changing feed
to links
:
client.put_object(user.facebook_uid, 'links', options)