[Facebooker-talk] Images in the new feeds

Jonathan Otto jonathan.otto at gmail.com
Sun Sep 7 20:06:34 EDT 2008


Wrong about images documentation for at least sending messages to the
feed, see here:

http://wiki.developers.facebook.com/index.php/Feed.publishUserAction

On Sun, Sep 7, 2008 at 7:01 PM, Jonathan Otto <jonathan.otto at gmail.com> wrote:
> 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