Jul 9, 2008
Me_small Edwin Veltman 5 posts

Topic: Developing Facebook Platform Applications with Rails / syntax error in user.rb

Looks like there’s a syntax error in the latest version of \vendor\plugins\facebooker\lib\facebooker\models\user.rb .

There’s an ‘end’ statement missing from line #214.

-edwin

 
Apr 29, 2008
Me_small Edwin Veltman 5 posts

Topic: Developing Facebook Platform Applications with Rails / Local development - FBML vs. iframe

Thanks, I think I’ve got it.

I was a bit confused. As I’m using facebooker with rails, I used the tunnel command in the facebooker section of the instructions, which gave me the error:

rake facebooker:tunnel:background_start

So instead I used the command in the rails instructions:

rake tunnlr:start

This is giving me the proper tunnel that I have set up in the facebooker.yml file. Perhaps the facebooker Tunnlr doc could be updated, so the user is instructed to use the second command if using facebooker together with rails.

 
Apr 29, 2008
Me_small Edwin Veltman 5 posts

Topic: Developing Facebook Platform Applications with Rails / Local development - FBML vs. iframe

Typo: it was actually 0.0.0.0:3000

 
Apr 29, 2008
Me_small Edwin Veltman 5 posts

Topic: Developing Facebook Platform Applications with Rails / Local development - FBML vs. iframe

I set up an account at http://tunnlr.com, and followed the instructions to modify my facebooker.yml file. When I run

rake facebooker:tunnel:background_start

I get

Starting tunnel ssh1.tunnlr.com:xxxxx to 0.0.0:3000
The system cannot find the path specified.

(xxxx being the public port number)

Any ideas on what’s wrong here?

 
Apr 19, 2008
Me_small Edwin Veltman 5 posts

Topic: Developing Facebook Platform Applications with Rails / Local development - FBML vs. iframe

I’m trying to develop locally on my Windows machine. I followed the instructions on setting up a reverse ssh tunnel, and everything seems to be in order, but I keep on ending up with a blank canvas page. According to the facebook developers wiki at http://wiki.developers.facebook.com/index.php/FAQ

“If you have configured your canvas to use FBML, then make sure that you are accessing an externally available server. Facebook’s servers cannot access “localhost” or an internal IP address.
If you do want to develop using localhost, you can do so by configuring to use an iframe.”

Although I am an experienced scripter, I’m rather new at this type of web development, and I’d really like to use FBML as recommended in the book to ease my way. Do I have to get ahold of a separate development machine so I can use FBML, or must I alternately use iframe when developing locally, or am I missing something?

5 posts