[Facebooker-talk] a small problem with invitation
Mike Mangino
mmangino at elevatedrails.com
Fri Sep 12 15:27:01 EDT 2008
You need to use _url on your links so that they include the host.
I know that because of the post-it on my monitor that tells me to
check that first :)
It's a constant pain for me.
Mike
On Sep 12, 2008, at 3:03 PM, Zhao Lu wrote:
> I juse this code to send an invitation, which receives fine by my
> friend:
>
> <% content_for("invite_message") do %>
> Send gifts to your friends.
> <%= fb_req_choice("Send gift!",
> new_facebook_gift_path(:canvas=>true))%>
> <% end %>
> <% fb_request_form("GiftToPhone","invite_message", invitations_path)
> do %>
> <%= fb_multi_friend_selector(
> "Invite your friends to send gifts with GiftToPone.")%>
> <br />
> <% end %>
>
> However, when they click on the "Send gift!" button, instead of going
> to apps.new.facebook.com/new_facebook_gift_path, it goes to
> www.new.facebook.com/new_facebook_gift_path. I'm not sure how to for
> the redirect go from www to apps. What am I missing here?
>
> Thanks,
>
> Zhao
>
> --
> Zhao
> _______________________________________________
> 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