[Facebooker-talk] built in fb:comments - can't get it to work
Mike Mangino
mmangino at elevatedrails.com
Tue Aug 12 18:57:52 EDT 2008
When Facebook renders certain pages, like the new comment form, it
fetches the callbackurl and uses the configuration data from the
fb:comments tag on that page. If you had a comment wall on an
expensive page you could use the callback url to render just the
fb:comments tag. For Rails, we used to need this because Facebook
always fetched the callback as a POST. If you tried to use an
fb:comments tag on your index, Facebook would try to grab the
configuration info from your create method when a user was posting a
comment.
Mike
On Aug 12, 2008, at 6:48 PM, David Clements wrote:
> What is the whole point of the callback url anyway? I don't
> understand its use:
>
> optional
> callbackurl
> string
> The URL to refetch this configuration. (Default value is the current
> page.)
>
>
> Dave
>
>
>
> On Tue, Aug 12, 2008 at 4:42 PM, Vidal Graupera <vidalg at a2z.com>
> wrote:
> I could not get it to work with the callback url. I had to remove
> that. Either that feature doesn't work, or I didn't know how to
> return the right thing.
>
> Vidal.
>
>
> On Aug 12, 2008, at 2:36 PM, Allen Walker wrote:
>
> For a week I've been screwing with this. It seems really simple yet I
> can't get it to work. So I have to think it has something to do with
> rails and rendering pages. I have:
>
> <%= fb_comments("Activity_#{@activity.id}", true, false, 20, :showform
> => true,
> :callbackurl => activity_url(:id=>@activity.id)) %>
>
> it outputs:
>
> <fb:comments callbackurl="http://apps.new.facebook.com/myapp/activities/31
> "
> candelete="false" canpost="true" numposts="20" showform="true"
> xid="Activity_31"></fb:comments>
>
>
>
> The wall shows up but when I post it goes back to the page and shows
> no
> comments.
>
> This CANNOT be that complicated. I realize I can write my own comment
> wall but I don't understand why the built in facebook fbml comments
> won't work. Does anyone have fb:comments working?
>
> Thanks for any help.
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
>
> =================
>
> Vidal Graupera
> vidalg at a2z.com
> 650-331-2714
> 130 Lytton Ave., Suite 300
> Palo Alto, CA 94301
>
> UnSpun by Amazon: Community Opinions ... Ranked!
> http://unspun.amazon.com
>
>
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
>
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
--
Mike Mangino
http://www.elevatedrails.com
More information about the Facebooker-talk
mailing list