My reverse proxy (nginx) changes request.host so path_to_image doesn't work as expected. The attached patch allows a
'callback_server' key in facebook.yml, which would contain the publicly visible server and port number, as
in "www.mydomain.com:8000". If the key is set, path_to_image uses it instead of request.host
The patch also covers the Rakefile, so new installations get this key included in the default facebook.yml (and new
users learn about the feature). |