![]() | Facebook not appending apps.facebook.com |
|
23 Mar 2008, 22:48
Aaron Mintz (1 post) |
This is probably something specific to my facebook account, but when I reply to the karate poke invitation request (click attack) facebook appends my url ‘app/invitations/new?userid’ to www.facebook.com not apps.facebook.com. The same thing occurs when I respond to a karate poke invitation (from apps.facebook.com/karate_poke). Any ideas? |
|
25 Mar 2008, 23:44
Mike Mangino (543 posts) |
This is what happens when you leave out a :canvas=>true from one of the links. Is this on the main KaratePoke application? If so, I will make sure it gets fixed when I push the next release |
|
11 Apr 2008, 02:26
Christian MacLean (6 posts) |
Doesn’t seem to be making any difference at all to me – even if I set :canvas=>false or omit that parameter at all I still get a relative path. Any suggestions? |
|
11 Apr 2008, 03:16
Mike Mangino (543 posts) |
There is a problem with chapter 3. new_invitation_path should be new_invitation_url. Can you try changing that? It should be fixed in the next beta. Sorry about that! |
|
13 Apr 2008, 01:52
Christian MacLean (6 posts) |
I’ll try that right now! Thanks for the timely response. Question for you developer to developer – I really have trouble reading rdocs and gleaning anything meaningful about learning a new plugin, or rails feature, etc. After 11 years of developement I don’t feel like I’m a dummy reading package and API docs – any tips on how to go about it in Ruby/Rails? Keep up the good work buddy. CM |
|
13 Apr 2008, 01:55
Christian MacLean (6 posts) |
Perfect! That did it Mike. Thanks! CM |
|
02 Jul 2008, 23:56
Michael Madrid (17 posts) |
I’m using something like new_xxxs_url (instead of path as suggested above), but getting a url http://apps.facebook.com//app_name//xxxs. Anyone know why the double /s occurring and how to get rid of them? |
|
09 Jul 2008, 23:18
Geoff Parris (2 posts) |
I’m having a similar issue with the double slashes, but an additional issue as well. Even running the chapter 3 source code from the book directly produces: http://apps.facebook.com/http://apps.facebook.c… when trying to send an invitation. |
|
09 Jul 2008, 23:35
Geoff Parris (2 posts) |
Oh, just figured it out. In the facebooker.yml file, the book tells you to supply the full url for the canvas_page_name, but make sure it’s just the canvas name by itself. Here is what mine was:
Here is what I changed it to: |
|
10 Jul 2008, 02:12
Michael Madrid (17 posts) |
Good catch Geoff. In my case changing the canvas_page_name from /appname/ to just appname did the job. |
| You must be logged in to comment |

