ckhsponge / zacknmiri

a Facebook Connect experiment

This URL has Read+Write access

ckhsponge (author)
Thu Dec 11 17:06:35 -0800 2008
commit  87f66bb4ab1e73bd1182af10d677c83921a1206c
tree    cb5fccf0ebe4d449dc9ed5e52003867cc76dfd3c
parent  4688c907e1e4f44ed5e8e38e8fa605dc08690d89
zacknmiri / README
100644 27 lines (23 sloc) 0.99 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
This is an example Facebook Connect app developed by Spongecell.
http://zacknmiri.com
http://spongecell.com
Chris Hobbs
 
Be sure to create your own config/facebooker.yml. I only set the api key, secret key and ports.
development:
  api_key:
  secret_key:
  canvas_page_name:
  tunnel:
    public_host_username:
    public_host:
    public_port:
    local_port:
    
Developer tips:
It will not work on localhost. There are some ways to set up tunneling but when I am developing I
map a domain name my publicly facing ip address and then have my router forward requests to port
3000 to my computer. Then in my facebook settings I make the callback URL be something like
http://znm.spongecell.com:3000/zack/connect. When developing your browser should point to
http://znm.spongecell.com:3000.
 
Remember that your xd_receiver file must have the same path as the callback url.
http://znm.spongecell.com:3000/zack/connect/xd_receiver.htm
 
Settings for the above are in environment.rb.