Hi guys!
I want to render a FBML partial to a string and then send it to the
Facebook API.
notification = render_to_string(:partial => 'invite', :locals =>
{ :invitee => @invitee })
result_xml = fbsession.notifications_send(:to_ids =>
@invitee.fb_user_id, :notification => notification)
Unfortunately it seems that heroku has changed the render methods
because my FBML gets modified, here's a sample:
<span class="heroku_marker heroku_start" style="display: none">app/
views/canvas/_invite.fbml.erb</span>
<fb:name uid="XXX" firstnameonly="false" shownetwork="false"/> bla bla
bla
<fb:req-choice url="http://www.facebook.com/add.php?api_key=XXX"
label="Bla Bla" />
<fb:req-choice url="http://apps.facebook.com/XXX/" label="More
Information" />
<span class="heroku_marker heroku_finish" style="display: none"></
span>
How do i avoid this?
Thanks
Jan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---