[Facebooker-talk] Images in the new feeds

Jonathan Otto jonathan.otto at gmail.com
Sun Sep 7 20:01:56 EDT 2008


I think there is some work to be done in Facebooker helpers for
"Publishing" to the new wall feed.

This also applies to posting images to either of the feeds.

So far I am just creating a hash, converting it to JSON and then
render :text => theHash

theHash = {
      :content => {
        :feed => {
          :template_id =>
Facebooker::Rails::Publisher::FacebookTemplate.for("publish_pokes"),
          :template_data => {
            :images => {
              1 => {
                :src => img_src_url,
                :href => href_url
              }
            },
            :activity => activity_to_do_more_of || "Exercising"
          }
        }
      },
      :method => "publisher_getFeedStory"
    }

Let me know if I overlooked an existing feature. Also, FYI - the
documentation for posting images to the feed is non-existent. What I
have here is derived from a PHP example.


More information about the Facebooker-talk mailing list