[Facebooker-talk] a small problem with invitation
Zhao Lu
zhao.lu.us at gmail.com
Fri Sep 12 16:38:17 EDT 2008
Mike,
Thanks for the tip!
Now I remember you saying that earlier. Maybe I miss that from the
book. The karate poke code can be updated to reflect that too.
Zhao
On Fri, Sep 12, 2008 at 12:27 PM, Mike Mangino
<mmangino at elevatedrails.com> wrote:
> 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
>
>
>
>
--
Zhao
More information about the Facebooker-talk
mailing list