Displaying 20 results from an estimated 400 matches similar to: "presenting validation errors via fbml?"
2008 Jan 24
12
getting started with facebooker
Hi,
I started with rfacebook but given the recent events figure its best
to move over to facebooker.
I have:
1.) Installed the facebooker plugin
2.) setup my facebook app (fbml/canvas)
3.) created a method on controller & view to handle initial request
4.) added "ensure_application_is_installed_by_facebook_user" to top
off application.rb
I am able to get to my landing page
2008 Mar 14
14
Facebooker MQ now on RubyForge
I don''t know if anyone is using this but I just fixed a bunch of bugs, some
big ones, and moved this project to RubyForge SVN servers.
So you can get it here now:
script/plugin install
http://facebooker-mq.rubyforge.org/svn/trunk/facebooker-mq/
This is working great for me on a couple of projects.
Here is the README
Updated: 3/14/2008
Purpose:
The purpose of FacebookerMQ is to
2008 Jan 25
5
ajax with facebooker?
So if I am using fbml,canvas & facebooker, can I do ajax calls? if so
how?
From reading it seems they support some sort of mock ajax, but I
don''t really understand, can somone explain to me?
If I cant do ajax, can I still do javascript?
Can I use 3rd party libs like prototype & scriptaculous?
thanks
Joel
2008 Jan 25
1
form error with datetime select
Hi, Im trying to build a form using:
<% facebook_form_for(:task, at task,:url => create_task_path) do |f| %>
Assign Task To: <%= fb_friend_selector %>
<%=f.text_field :ttype, :label=> "Title"%>
<%=f.datetime_select :duedate, :label=> "Due Date"%>
<%=f.buttons "Add" %>
<% end %>
But im getting an
2008 Jan 29
17
facebook_url_rewriting.rb
Here''s the fix for Facebook apps that specify a controller in their callback URLs. First, set this variable in your environment scripts:
ENV[''FACEBOOKER_CALLBACK_PATH''] = ''/controller''
# where controller is the name of your Facebook controller
And then patch vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb as shown in the
2008 Mar 06
2
patches on the rubyforge tracker
Hi I just made some changes / additions for myself in facebooker and
posted the patches on rubyforge, e.g.:
https://rubyforge.org/tracker/index.php?
func=detail&aid=18639&group_id=4187&atid=16130
(adds support for fb:dialog FBML tag)
Is this the right way to do it?
--simon
--
http://simonwoodside.com
2008 Mar 18
4
respond_to formats, fbml and fbjs
In my controllers I have a respond_to block for both fbml and fbjs.
I created the fbjs mime type in environment.rb:
Mime::Type.register "application/javascript", :fbjs
However, even if I specify fbjs in a parameter name format during AJAX
post requests, it is being overwritten by Rails or Facebooker as FBML.
I confirmed this by placing logger.debug params[:format] immediately
before
2008 Jan 26
14
Introducing facebooker.yml
If you are using facebooker as a plugin, you can now have all your
configuration in one place, namely config/facebooker.yml. You can
create this file with rake facebooker:setup. It is also generated
when you install it as a plugin.
It has a similar setup to database.yml with sections for each
environment. You can also configure your ssh reverse tunnels.
If you are upgrading, make sure to
2007 Dec 05
5
Active Record, Migration, and Translation
Hi,
I think the columns and table in migration should be able to have an
optional "display_name" set manually. Something like:
create_table :people, {display_name => "Personne"} do |t|
t.column :first_name :string, :display_name => "Prénom".
end
Let me explain my point of view:
Rails is a framework made to write programs in English. You see it when
you
2007 Dec 13
1
session.send_notification for emails
Hey All,
I am wondering if anyone has done any work around sending emails
through the API. It looks like facebooker is using part of a
deprecated API, Notifications.send used to take an email part. They
now have a Notifications.sendEmail call which will take recipients,
subject, text part and fbml part.
Looking at the code it seems like I need to add a method to the
session
2007 Oct 30
2
Rfacebook: iFrame vs FBML Question
I''d like for URLs like http://apps.facebook.com/myapp/foo/bar/100 to
map to http://mysite.com/foo/bar/1.
Is this at all possible if my site is running as an iFrame? Or is this
possible only with FBML?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2008 Feb 01
2
proposed patch for fb_request_form_submit
Hi, according to the Facebook docs, you can add a uid to the
fb_request_form_submit button which will pre select the user for the
form.
So you can do:
<fb:request-form action="/my_tasks" method="POST" invite="true"
type="MyApp" content="wants to invite you to xyz app">
<fb:request-form-submit uid="FRIENDID" />
2008 Jan 26
3
Facebooker::Session::IncorrectSignature
I think I must be missing something obvious on this one, but I can''t get past the initial "ensure_application_is_installed_by_facebook_user" in a rails app that I''m trying to put together. I''m running on edge rails with the latest Facebooker as a plugin. I''ve tried adding my settings to the environment configs and recently I tried the new yaml
2007 Sep 13
2
streaming video with mongrel
Hi, on my site I have several screen casts (using flash video flv) in
addition to the normal rails application which is the core service,
my setup is apache proxy/balancing to 2 mongrels.
I was thinking I should probably not be serving up streaming video
from mongrel as it will occupy the mongrel processes for long periods
of time right?
So I was thinking of excluding a directory from
2008 Mar 12
0
fbml and dreamhost
help me....please...
I''m trying to set up just a simple "getting started" application with
dreamhost on facebook.
I''m having two problems:
1. the rails application works fine until I install the rfacebook
plugin (just installing it and nothing more) and then all I get is a
HTTP 500 error...once I delete the plugin everything goes back to
being fine...
The only solution
2008 Jan 25
8
simple routing & linking question
So I have an existing app & facebook app in same rails application,
for now I have decided to go the route of creating a controller for
facebook stuff (called FaceController).
(setup is canvas, fbml)
So I have:
facebook config
http://myurl:myport/face/
My controllers name is face, so I dont even need a manual route, for
the landing page it works like a charm.
but, when I try to make
2008 Jan 14
0
Setting profile FBML for a Facebook Page
Had a user add our app to a Facebook Page,
http://www.facebook.com/business/?pages. Facebook Pages act like
users but are more for businesses and Bands.
It looks like the current Facebooker API doesn''t currently support
setting the Profile FBML for a Page.
The current code for setting the proflie is this:
def profile_fbml=(markup)
2007 Jul 31
1
anyway to exclude logging for a given IP address?
Hi, im not sure if this is a mongrel or rails question, so im sorry
if I got the wrong list.
Is there anyway to turn off logging (in production.log) if a request
comes from a given IP address. I use monit to watch everything, and I
get tons of this in my log file:
Processing AccountController#login (for 127.0.0.1 at 2007-07-31
14:06:28) [GET]
Session ID: XXXXXXXXXXXXXXXXXX
2008 Jan 25
2
form formatting
If I want to use fbml elements and rails tags, is there a way to do
within a fb:editor?
if I do:
<% facebook_form_for(:task, at task,:url => create_task_path) do |f| %>
Assign Task To: <%= fb_friend_selector %>
<%=f.text_field :ttype, :label=> "Title"%>
<%=text_field_tag :newrnumdays, ndays, :label => "# Days"%>
2008 Apr 10
1
error_messages_for
I''ve been all good and written some great validation in my models, but
when something doesn''t validate, I''m used to using error_messages_for
in my view to display the errors.
Is there some sort of facebook_messages_for equivalent in facebooker?
Or perhaps some parameter I can pass to facebook_messages?
Justin